Updated the patch for 1074526 to also cover 1081875
diff -Nru python-maturin-1.3.2/debian/cargo_home/config.toml python-maturin-1.3.2/debian/cargo_home/config.toml --- python-maturin-1.3.2/debian/cargo_home/config.toml 2024-06-07 16:34:26.000000000 +0000 +++ python-maturin-1.3.2/debian/cargo_home/config.toml 1970-01-01 00:00:00.000000000 +0000 @@ -1,7 +0,0 @@ -[source] - -[source.mirror] -directory = "/usr/share/cargo/registry/" - -[source.crates-io] -replace-with = "mirror" 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,11 @@ +python-maturin (1.3.2-2.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dependencies on itertools and cbindgen. + (Closes: #1081875, #1074526) + + -- 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-cbindgen python-maturin-1.3.2/debian/patches/relax-cbindgen --- python-maturin-1.3.2/debian/patches/relax-cbindgen 2024-06-07 16:34:26.000000000 +0000 +++ python-maturin-1.3.2/debian/patches/relax-cbindgen 2024-06-30 11:34:30.000000000 +0000 @@ -7,7 +7,7 @@ cargo_metadata = "0.15.4" cargo-options = "0.6.0" -cbindgen = { version = "0.28", default-features = false } -+cbindgen = { version = "0.26", default-features = false } ++cbindgen = { version = ">= 0.26", default-features = false } flate2 = "1.0.18" goblin = "0.7.1" platform-info = "2.0.1" 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"