Package: python-maturin

I hope to update rust-zip to the latest upstream version soon,
python-maturin's Debian build-dependencies allow the new
version but it's Cargo dependencies do not. I patched the
Cargo dependency to remove the upper limit and also
updated the Debian dependency to match the Cargo one.

Debdiff is attatched, I may team upload this later.

The new version of rust-zip is available in experimental
if you want to do further testing.


diff -Nru python-maturin-1.8.7/debian/changelog 
python-maturin-1.8.7/debian/changelog
--- python-maturin-1.8.7/debian/changelog       2025-09-11 14:12:21.000000000 
+0000
+++ python-maturin-1.8.7/debian/changelog       2025-09-16 21:30:56.000000000 
+0000
@@ -1,3 +1,12 @@
+python-maturin (1.8.7-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax Cargo dependency on zip crate.
+  * Tighten Debian dependency on zip crate to match
+    Cargo dependency.
+
+ -- Peter Michael Green <[email protected]>  Tue, 16 Sep 2025 21:30:56 +0000
+
 python-maturin (1.8.7-2) unstable; urgency=medium
 
   * Team upload.
diff -Nru python-maturin-1.8.7/debian/control 
python-maturin-1.8.7/debian/control
--- python-maturin-1.8.7/debian/control 2025-08-30 17:19:22.000000000 +0000
+++ python-maturin-1.8.7/debian/control 2025-09-16 21:30:43.000000000 +0000
@@ -62,7 +62,7 @@
                librust-tracing-subscriber-dev,
                librust-trycmd-dev,
                librust-which-dev (>= 8.0.0),
-               librust-zip-dev (>= 0.6.1),
+               librust-zip-dev (>= 2.3.0),
                pybuild-plugin-pyproject,
                python3-all,
                python3-setuptools (>= 53.0.0),
diff -Nru python-maturin-1.8.7/debian/patches/relax-zip 
python-maturin-1.8.7/debian/patches/relax-zip
--- python-maturin-1.8.7/debian/patches/relax-zip       1970-01-01 
00:00:00.000000000 +0000
+++ python-maturin-1.8.7/debian/patches/relax-zip       2025-09-16 
21:30:24.000000000 +0000
@@ -0,0 +1,13 @@
+Index: python-maturin-1.8.7/Cargo.toml
+===================================================================
+--- python-maturin-1.8.7.orig/Cargo.toml
++++ python-maturin-1.8.7/Cargo.toml
+@@ -57,7 +57,7 @@ tar = "0.4.38"
+ tempfile = "3.2.0"
+ toml = "0.8.10"
+ toml_edit = "0.22.6"
+-zip = { version = "2.3.0", default-features = false, features = [
++zip = { version = ">= 2.3.0", default-features = false, features = [
+     "bzip2",
+     "deflate",
+     "time",
diff -Nru python-maturin-1.8.7/debian/patches/series 
python-maturin-1.8.7/debian/patches/series
--- python-maturin-1.8.7/debian/patches/series  2025-08-30 17:19:22.000000000 
+0000
+++ python-maturin-1.8.7/debian/patches/series  2025-09-16 21:29:59.000000000 
+0000
@@ -12,3 +12,4 @@
 relax-target-lexicon
 relax-fs4
 relax-pep440-pep508
+relax-zip

Reply via email to