public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-dulwich] rawhide: Allow PyO3 0.29
@ 2026-06-30 16:18 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-30 16:18 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-30 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-30 16:18 [rpms/python-dulwich] rawhide: Allow PyO3 0.29 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox