Package: python-maturin Now that rust-ahash 0.8 is in trixie and noble I hope to update rust-hashbrown and rust-indexmap soon to versions 0.14.x and version 2.x.x respectively. The new versions are currently available in experimental.
Currently the debian dependency on rust-indexmap has no upper limit, but the cargo dependency does have an upper limit. python-maturin upstream did not make any code changes when bumping the dependency to 2.x and after removing the upper limit I was able to build python-maturin successfully against the new indexmap. A debdiff is attatched which removes the upper limit
diff -Nru python-maturin-1.3.2/debian/changelog python-maturin-1.3.2/debian/changelog --- python-maturin-1.3.2/debian/changelog 2024-01-21 00:21:43.000000000 +0000 +++ python-maturin-1.3.2/debian/changelog 2024-02-11 03:59:53.000000000 +0000 @@ -1,3 +1,10 @@ +python-maturin (1.3.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dependency on indexmap. + + -- Peter Michael Green <plugw...@debian.org> Sun, 11 Feb 2024 03:59:53 +0000 + python-maturin (1.3.2-1) unstable; urgency=medium [ Andreas Tille ] diff -Nru python-maturin-1.3.2/debian/patches/relax-rust-indexmap python-maturin-1.3.2/debian/patches/relax-rust-indexmap --- python-maturin-1.3.2/debian/patches/relax-rust-indexmap 1970-01-01 00:00:00.000000000 +0000 +++ python-maturin-1.3.2/debian/patches/relax-rust-indexmap 2024-02-11 03:59:33.000000000 +0000 @@ -0,0 +1,13 @@ +Index: python-maturin-1.3.2/Cargo.toml +=================================================================== +--- python-maturin-1.3.2.orig/Cargo.toml ++++ python-maturin-1.3.2/Cargo.toml +@@ -61,7 +61,7 @@ once_cell = "1.7.2" + rustc_version = "0.4.0" + semver = "1.0.13" + target-lexicon = "0.12.8" +-indexmap = "1.9.3" ++indexmap = ">= 1.9.3" + pyproject-toml = "0.7.0" + python-pkginfo = "0.5.5" + textwrap = "0.16.0" diff -Nru python-maturin-1.3.2/debian/patches/series python-maturin-1.3.2/debian/patches/series --- python-maturin-1.3.2/debian/patches/series 2024-01-21 00:21:43.000000000 +0000 +++ python-maturin-1.3.2/debian/patches/series 2024-02-11 03:59:15.000000000 +0000 @@ -18,3 +18,4 @@ relax-pyproject-toml relax-python-pkginfo relax-tracing-subscriber +relax-rust-indexmap