public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-dulwich] rawhide: Allow PyO3 0.29
Date: Tue, 30 Jun 2026 16:18:46 GMT	[thread overview]
Message-ID: <178283632699.1.6199845511603917471.rpms-python-dulwich-89ddf4eecf1e@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-dulwich
            Branch : rawhide
            Commit : 89ddf4eecf1eaa2bfeecc10d74cbfde52cd5231b
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-06-30T11:00:09+01:00
            Stats  : +20/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-dulwich/c/89ddf4eecf1eaa2bfeecc10d74cbfde52cd5231b?branch=rawhide

            Log:
            Allow PyO3 0.29

- Update the `License` expression

---
diff --git a/dulwich-fix-metadata.patch b/dulwich-fix-metadata.patch
new file mode 100644
index 0000000..b9d762b
--- /dev/null
+++ b/dulwich-fix-metadata.patch
@@ -0,0 +1,13 @@
+diff --git a/Cargo.toml b/Cargo.toml
+index b559c289a6..614a9c6ee4 100644
+--- a/Cargo.toml
++++ b/Cargo.toml
+@@ -3,7 +3,7 @@ members = ["crates/*"]
+ resolver = "2"
+ 
+ [workspace.dependencies]
+-pyo3 = ">=0.25, <0.29"
++pyo3 = ">=0.25, <0.30"
+ 
+ [workspace.package]
+ version = "1.2.5"

diff --git a/python-dulwich.spec b/python-dulwich.spec
index a048655..0cc0518 100644
--- a/python-dulwich.spec
+++ b/python-dulwich.spec
@@ -10,6 +10,11 @@ License:        GPL-2.0-or-later OR Apache-2.0
 URL:            https://www.dulwich.io/
 Source0:        %{pypi_source}
 
+# Support pyo3 0.29
+# https://github.com/jelmer/dulwich/commit/f8762ba0184e572f54be2a494d728bfe8c000917
+# PyO3 0.29 fixes RUSTSEC-2026-0176 and RUSTSEC-2026-0177.
+Patch:          dulwich-fix-metadata.patch
+
 BuildRequires:  python3-devel
 BuildRequires:  cargo-rpm-macros
 
@@ -31,10 +36,9 @@ Mrs. Git live in the Monty Python sketch.
 Summary:        %{summary}
 
 # Apache-2.0
-# MIT
 # MIT OR Apache-2.0
 # Unlicense OR MIT
-License:        (GPL-2.0-or-later OR Apache-2.0) AND Apache-2.0 AND MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
+License:        (GPL-2.0-or-later OR Apache-2.0) AND Apache-2.0 AND (MIT OR Apache-2.0) AND (Unlicense OR MIT)
 
 %description -n python3-%{srcname}
 Dulwich is a Python implementation of the Git file formats and
@@ -54,7 +58,7 @@ Documentation for %{name}.
 %pyproject_extras_subpkg -n python3-%{srcname} %{extras}
 
 %prep
-%autosetup -n %{srcname}-%{version}
+%autosetup -n %{srcname}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

                 reply	other threads:[~2026-06-30 16:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178283632699.1.6199845511603917471.rpms-python-dulwich-89ddf4eecf1e@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox