Package: rust-test-case Version: 3.3.1-1 Tags: patch We are currently looking at updating rust-itertools to 0.12, the new version is available in experimental.
The Debian build-dependencies and test-dependencies have no upper limit on the version, but the Cargo dev-dependency does, so building rust-test-case with rust-itertools from experimental fails with.
error: failed to select a version for the requirement `itertools = ">=0.10, <=0.11"` candidate versions found which didn't match: 0.12.0
After removing the upper limit from the cargo dev-dependency the package builds and it's autopkgtests run succesfully. Debdiff is attatched.
diff -Nru rust-test-case-3.3.1/debian/changelog rust-test-case-3.3.1/debian/changelog --- rust-test-case-3.3.1/debian/changelog 2024-01-14 17:27:53.000000000 +0000 +++ rust-test-case-3.3.1/debian/changelog 2024-07-02 15:50:56.000000000 +0000 @@ -1,3 +1,10 @@ +rust-test-case (3.3.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Relax cargo dev-dependency on itertools. + + -- Peter Michael Green <plugw...@debian.org> Tue, 02 Jul 2024 15:50:56 +0000 + rust-test-case (3.3.1-1) unstable; urgency=medium [ upstream ] diff -Nru rust-test-case-3.3.1/debian/patches/2001_itertools.patch rust-test-case-3.3.1/debian/patches/2001_itertools.patch --- rust-test-case-3.3.1/debian/patches/2001_itertools.patch 2024-01-14 17:22:56.000000000 +0000 +++ rust-test-case-3.3.1/debian/patches/2001_itertools.patch 2024-07-02 15:50:56.000000000 +0000 @@ -1,8 +1,8 @@ -Description: accept older branch of crate itertools +Description: accept older and newer branches of crate itertools Author: Jonas Smedegaard <d...@jones.dk> Bug-Debian: https://bugs.debian.org/1054075 Forwarded: not-needed -Last-Update: 2024-01-14 +Last-Update: 2024-07-02 by Peter Michael Green --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/Cargo.toml @@ -12,7 +12,7 @@ [dev-dependencies] insta = "1.12" -itertools = "0.11" -+itertools = ">= 0.10, <= 0.11" ++itertools = ">= 0.10" regex = "1.5" [workspace]