Package: python-maturin
Version: 1.3.2-2

I hope to update rust-itertools from 0.10.x to 0.12.x soon. The
Debian dependencies for python-maturin allow this, but the
Cargo dependencies do not.

Upstream did not appear to make any code changes when
bumping the dependency.

I was able to succesfully test build the package with the
attatched patch. If I get no response I intend to team upload
this when I update rust-itertools.

diff -Nru python-maturin-1.3.2/debian/changelog 
python-maturin-1.3.2/debian/changelog
--- python-maturin-1.3.2/debian/changelog       2024-06-07 16:34:26.000000000 
+0000
+++ python-maturin-1.3.2/debian/changelog       2024-06-30 11:34:30.000000000 
+0000
@@ -1,3 +1,10 @@
+python-maturin (1.3.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax cargo dependency on itertools
+
+ -- Peter Michael Green <plugw...@debian.org>  Sun, 30 Jun 2024 11:34:30 +0000
+
 python-maturin (1.3.2-2) unstable; urgency=medium
 
   * Bump indexmap to latest version. Closes: #1063735
diff -Nru python-maturin-1.3.2/debian/patches/relax-itertools 
python-maturin-1.3.2/debian/patches/relax-itertools
--- python-maturin-1.3.2/debian/patches/relax-itertools 2024-06-07 
16:34:26.000000000 +0000
+++ python-maturin-1.3.2/debian/patches/relax-itertools 2024-06-30 
11:32:46.000000000 +0000
@@ -7,7 +7,7 @@
  textwrap = "0.16.0"
  ignore = "0.4.20"
 -itertools = "0.11.0"
-+itertools = "0.10.5"
++itertools = ">= 0.10.5"
  lddtree = "0.3.3"
  cc = "1.0.72"
  dunce = "1.0.2"
diff -Nru python-maturin-1.3.2/debian/patches/relax-python-pkginfo 
python-maturin-1.3.2/debian/patches/relax-python-pkginfo
--- python-maturin-1.3.2/debian/patches/relax-python-pkginfo    2024-06-07 
16:34:26.000000000 +0000
+++ python-maturin-1.3.2/debian/patches/relax-python-pkginfo    2024-06-30 
11:33:45.000000000 +0000
@@ -11,12 +11,10 @@
  flate2 = "1.0.18"
  goblin = "0.7.1"
  platform-info = "2.0.1"
-@@ -63,7 +63,7 @@ semver = "1.0.13"
- target-lexicon = "0.12.8"
+@@ -64,5 +64,5 @@ semver = "1.0.13"
  indexmap = "1.9.3"
  pyproject-toml = "0.7.0"
 -python-pkginfo = "0.6.0"
 +python-pkginfo = "0.5.5"
  textwrap = "0.16.0"
  ignore = "0.4.20"
- itertools = "0.10.5"

Reply via email to