Package: rust-smol
Version: 1.3.0-1
Severity: important
I have uploaded rust-nix 0.26 to experimental and am now working through the
reverse dependencies before uploading it to unstable.
Generally I have been setting the upper limit on version to <1.0, this is
clearly a compromise, there is some risk of breakage with each new nix version,
but IME it's less than 50/50 and we have rebuild tests and autopkgtests to deal
with such breakage. So I think overall it's preferebale to bumping the
dependencies every time we update nix.
Debdiff attached.
diff -Nru rust-smol-1.3.0/debian/changelog rust-smol-1.3.0/debian/changelog
--- rust-smol-1.3.0/debian/changelog 2022-12-06 17:27:03.000000000 +0000
+++ rust-smol-1.3.0/debian/changelog 2022-12-10 13:33:52.000000000 +0000
@@ -1,3 +1,12 @@
+rust-smol (1.3.0-1.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Update Cargo.toml to allow any version of nix greater than the one
+ upstream asks for and less than 1.0.
+ * Update Debian dependency on nix to reflect the Cargo dependency.
+
+ -- Peter Michael Green <plugw...@debian.org> Sat, 10 Dec 2022 13:33:52 +0000
+
rust-smol (1.3.0-1) unstable; urgency=medium
[ upstream ]
diff -Nru rust-smol-1.3.0/debian/control rust-smol-1.3.0/debian/control
--- rust-smol-1.3.0/debian/control 2022-12-06 17:27:03.000000000 +0000
+++ rust-smol-1.3.0/debian/control 2022-12-10 13:33:39.000000000 +0000
@@ -24,8 +24,7 @@
librust-hyper-0.14+stream-dev <!nocheck>,
librust-inotify-0-dev (<< 0.11) <!nocheck>,
librust-native-tls-0.2+default-dev <!nocheck>,
- librust-nix-0+default-dev (<< 0.26) <!nocheck>,
- librust-nix-0+default-dev (>= 0.23) <!nocheck>,
+ librust-nix-0+default-dev (>= 0.24) <!nocheck>,
librust-signal-hook-0.3+default-dev <!nocheck>,
librust-tempfile-3+default-dev <!nocheck>,
librust-timerfd-1+default-dev <!nocheck>,
diff -Nru rust-smol-1.3.0/debian/patches/2002_nix.patch
rust-smol-1.3.0/debian/patches/2002_nix.patch
--- rust-smol-1.3.0/debian/patches/2002_nix.patch 2022-12-06
13:39:24.000000000 +0000
+++ rust-smol-1.3.0/debian/patches/2002_nix.patch 2022-12-10
13:32:43.000000000 +0000
@@ -1,5 +1,8 @@
Description: relax dependency on crate nix
- Needed to match Debian-packaged nix v0.24.1
+ Nix frequently bumps semver, but most changes only affect a small part of the
+ API. So it's easier to deal with the breakage when new versions come out than
+ to constantly bump dependencies.
+Author: Peter Michael Green <plugw...@debian.org>
Author: Jonas Smedegaard <d...@jones.dk>
Last-Update: 2022-07-15
---
@@ -11,5 +14,5 @@
[target.'cfg(target_os = "linux")'.dev-dependencies]
inotify = { version = ">= 0.9, < 0.11", default-features = false }
-nix = "0.24"
-+nix = ">= 0.24, < 0.26"
++nix = ">= 0.24, < 1.0"
timerfd = "1"