Package: elan
Version: 3.1.1-1
I hope to update rust-itertools to 0.12 and rust-zstd to 0.13 soon.
For itertools the debian dependency allows the new versions, but the
Cargo dependencies do not. For zstd, neither the debian or cargo
dependencies
After relaxing the dependencies I was able to build elan successfully
with the new itertools and zstd.
A debdiff is attatched and the new versions of rust-itertools are
available in experimental if you want to do further testing.
diff -Nru elan-3.1.1/debian/changelog elan-3.1.1/debian/changelog
--- elan-3.1.1/debian/changelog 2024-05-03 19:04:40.000000000 +0000
+++ elan-3.1.1/debian/changelog 2024-05-31 01:25:52.000000000 +0000
@@ -1,3 +1,11 @@
+elan (3.1.1-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Remove upper limit from Cargo dependency on itertools crate.
+ * Remove upper limit from Debian and Cargo dependencies on zstd crate.
+
+ -- Peter Michael Green <plugw...@debian.org> Fri, 31 May 2024 01:25:52 +0000
+
elan (3.1.1-1) unstable; urgency=medium
* Import new upstream version (3.1.1)
diff -Nru elan-3.1.1/debian/control elan-3.1.1/debian/control
--- elan-3.1.1/debian/control 2024-05-03 19:04:30.000000000 +0000
+++ elan-3.1.1/debian/control 2024-05-31 01:25:52.000000000 +0000
@@ -42,7 +42,7 @@
librust-openssl-probe-dev,
librust-backtrace-sys-dev,
librust-markdown-dev,
- librust-zstd-0.12-dev,
+ librust-zstd-dev (>= 0.12.1),
bash-completion
Standards-Version: 4.6.2
Homepage: https://github.com/leanprover/elan
diff -Nru elan-3.1.1/debian/patches/remove-upperlimits.patch
elan-3.1.1/debian/patches/remove-upperlimits.patch
--- elan-3.1.1/debian/patches/remove-upperlimits.patch 1970-01-01
00:00:00.000000000 +0000
+++ elan-3.1.1/debian/patches/remove-upperlimits.patch 2024-05-31
01:25:52.000000000 +0000
@@ -0,0 +1,31 @@
+Index: elan-3.1.1/Cargo.toml
+===================================================================
+--- elan-3.1.1.orig/Cargo.toml
++++ elan-3.1.1/Cargo.toml
+@@ -29,7 +29,7 @@ elan-utils = { path = "src/elan-utils" }
+ download = { path = "src/download" }
+ clap = "2.33.3"
+ error-chain = "0.12.4"
+-itertools = "0.10.0"
++itertools = ">= 0.10.0"
+ libc = "0.2.82"
+ markdown = "0.3.0"
+ rand = "0.8.2"
+Index: elan-3.1.1/src/elan-dist/Cargo.toml
+===================================================================
+--- elan-3.1.1.orig/src/elan-dist/Cargo.toml
++++ elan-3.1.1/src/elan-dist/Cargo.toml
+@@ -10,11 +10,11 @@ license = "MIT OR Apache-2.0"
+
+ [dependencies]
+ regex = "1.4.3"
+-itertools = "0.10.0"
++itertools = ">= 0.10.0"
+ url = "2.2.1"
+ tar = "0.4.33"
+ flate2 = "1.0.14"
+-zstd = "0.12.1"
++zstd = ">= 0.12.1"
+ walkdir = "2.3.1"
+ toml = "0.5.8"
+ sha2 = "0.10.5"
diff -Nru elan-3.1.1/debian/patches/series elan-3.1.1/debian/patches/series
--- elan-3.1.1/debian/patches/series 2024-05-03 18:52:38.000000000 +0000
+++ elan-3.1.1/debian/patches/series 2024-05-31 01:25:52.000000000 +0000
@@ -1,2 +1,3 @@
build.patch
0002-dependencies.patch
+remove-upperlimits.patch