Package: rust-criterion
Version: 0.5.1-3
I hope to update rust-itertools to 0.12 soon. Criterion will need an update
for this.
Upstream did not make any code changes when changing the dependencies
to allow 0.12, and I was able to successfully build and test the debian
package
with the dependency relaxed.
The debdiff I used for testing is attatched.
diff -Nru rust-criterion-0.5.1/debian/changelog
rust-criterion-0.5.1/debian/changelog
--- rust-criterion-0.5.1/debian/changelog 2023-08-18 14:37:26.000000000
+0000
+++ rust-criterion-0.5.1/debian/changelog 2024-02-10 04:34:21.000000000
+0000
@@ -1,3 +1,10 @@
+rust-criterion (0.5.1-3.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Relax itertools dependency.
+
+ -- Peter Michael Green <plugw...@debian.org> Sat, 10 Feb 2024 04:34:21 +0000
+
rust-criterion (0.5.1-3) unstable; urgency=medium
* (build-)depend on package for crate ciborium (not serde_cbor)
diff -Nru rust-criterion-0.5.1/debian/control
rust-criterion-0.5.1/debian/control
--- rust-criterion-0.5.1/debian/control 2023-08-18 14:35:23.000000000 +0000
+++ rust-criterion-0.5.1/debian/control 2024-02-10 04:34:21.000000000 +0000
@@ -13,7 +13,7 @@
librust-clap-4+std-dev <!nocheck>,
librust-csv-1+default-dev (>= 1.1) <!nocheck>,
librust-futures-0.3+executor-dev <!nocheck>,
- librust-itertools-0.10+default-dev <!nocheck>,
+ librust-itertools-0+default-dev (>= 0.10) <!nocheck>,
librust-itertools-num-0.1+default-dev <!nocheck>,
librust-num-complex-0.4+std-dev <!nocheck>,
librust-num-traits-0.2+std-dev <!nocheck>,
@@ -52,7 +52,7 @@
librust-clap-4+std-dev,
librust-csv-1+default-dev (>= 1.1),
librust-futures-0.3+executor-dev,
- librust-itertools-0.10+default-dev,
+ librust-itertools-0+default-dev (>= 0.10),
librust-num-traits-0.2+std-dev,
librust-once-cell-1+default-dev (>= 1.14),
librust-oorandom-11+default-dev,
diff -Nru rust-criterion-0.5.1/debian/patches/relax-itertools.patch
rust-criterion-0.5.1/debian/patches/relax-itertools.patch
--- rust-criterion-0.5.1/debian/patches/relax-itertools.patch 1970-01-01
00:00:00.000000000 +0000
+++ rust-criterion-0.5.1/debian/patches/relax-itertools.patch 2024-02-10
04:34:21.000000000 +0000
@@ -0,0 +1,49 @@
+Description: <short summary of the patch>
+ TODO: Put a short summary on the line above and replace this paragraph
+ with a longer explanation of this change. Complete the meta-information
+ with other relevant fields (see below for details). To make it easier, the
+ information below has been extracted from the changelog. Adjust it or drop
+ it.
+ .
+ rust-criterion (0.5.1-3.1) UNRELEASED; urgency=medium
+ .
+ * Non-maintainer upload.
+ * Relax itertools dependency.
+Author: Peter Michael Green <plugw...@debian.org>
+
+---
+The information above should follow the Patch Tagging Guidelines, please
+checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
+are templates for supplementary fields that you might want to add:
+
+Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
+Bug: <upstream-bugtracker-url>
+Bug-Debian: https://bugs.debian.org/<bugnumber>
+Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
+Forwarded: (no|not-needed|<patch-forwarded-url>)
+Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
+Reviewed-By: <name and email of someone who approved/reviewed the patch>
+Last-Update: 2024-02-10
+
+--- rust-criterion-0.5.1.orig/Cargo.toml
++++ rust-criterion-0.5.1/Cargo.toml
+@@ -20,7 +20,7 @@ exclude = ["book/*"]
+ anes = "0.1.4"
+ once_cell = "1.14"
+ criterion-plot = { path = "plot", version = "0.5.0" }
+-itertools = "0.10"
++itertools = ">= 0.10, < 1.0"
+ serde = "1.0"
+ serde_json = "1.0"
+ serde_derive = "1.0"
+--- rust-criterion-0.5.1.orig/plot/Cargo.toml
++++ rust-criterion-0.5.1/plot/Cargo.toml
+@@ -13,7 +13,7 @@ license = "MIT OR Apache-2.0"
+
+ [dependencies]
+ cast = "0.3"
+-itertools = "0.10"
++itertools = ">= 0.10, < 1.0"
+
+ [dev-dependencies]
+ itertools-num = "0.1"
diff -Nru rust-criterion-0.5.1/debian/patches/series
rust-criterion-0.5.1/debian/patches/series
--- rust-criterion-0.5.1/debian/patches/series 2023-08-18 14:36:18.000000000
+0000
+++ rust-criterion-0.5.1/debian/patches/series 2024-02-10 04:34:21.000000000
+0000
@@ -1,2 +1,3 @@
1001_tempfile.patch
2002_no_unstable_features.patch
+relax-itertools.patch