Package: rust-if-watch
Version: 3.2.0-9

The Cargo.toml for rust-if-watch has both a regular dependency and a
dev-dependency on smol. Currently the version for the regular
dependency is patched, but the version for the dev-dependency
is not.

This leads to the autopkgtest failing with the new version of rust-smol
and hence blocks the migration of the new version of rust-smol to
testing.

48s error: failed to select a version for the requirement `smol = "^1.2.5"`
48s candidate versions found which didn't match: 2.0.0
A debdiff adjusting the versioning of the dev-dependency to match
that used for the regular dependency is attatched.


diff -Nru rust-if-watch-3.2.0/debian/changelog 
rust-if-watch-3.2.0/debian/changelog
--- rust-if-watch-3.2.0/debian/changelog        2024-07-12 12:13:50.000000000 
+0000
+++ rust-if-watch-3.2.0/debian/changelog        2024-07-17 18:41:04.000000000 
+0000
@@ -1,3 +1,11 @@
+rust-if-watch (3.2.0-9.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Update versioning smol dev-dependency to match regular
+    dependency.
+
+ -- Peter Michael Green <[email protected]>  Wed, 17 Jul 2024 18:41:04 +0000
+
 rust-if-watch (3.2.0-9) unstable; urgency=medium
 
   * simplify packaging;
diff -Nru rust-if-watch-3.2.0/debian/patches/1001_smol.patch 
rust-if-watch-3.2.0/debian/patches/1001_smol.patch
--- rust-if-watch-3.2.0/debian/patches/1001_smol.patch  2024-06-25 
15:11:50.000000000 +0000
+++ rust-if-watch-3.2.0/debian/patches/1001_smol.patch  2024-07-17 
18:41:02.000000000 +0000
@@ -1,11 +1,13 @@
 Description: accept newer branch of crate smol
 Author: Jonas Smedegaard <[email protected]>
-Last-Update: 2024-06-25
+Last-Update: 2024-07-17 by Peter Michael Green.
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -33,7 +33,7 @@
+Index: rust-if-watch-3.2.0/Cargo.toml
+===================================================================
+--- rust-if-watch-3.2.0.orig/Cargo.toml
++++ rust-if-watch-3.2.0/Cargo.toml
+@@ -33,7 +33,7 @@ core-foundation = "0.9.2"
  if-addrs = "0.10.0"
  system-configuration = "0.5.0"
  tokio = { version = "1.21.2", features = ["rt"], optional = true }
@@ -14,3 +16,12 @@
  
  [target.'cfg(target_os = "windows")'.dependencies]
  if-addrs = "0.10.0"
+@@ -45,7 +45,7 @@ if-addrs = "0.10.0"
+ 
+ [dev-dependencies]
+ env_logger = "0.10.0"
+-smol = "1.2.5"
++smol = ">= 1.2.5, <= 2"
+ tokio = { version = "1.21.2", features = ["rt", "macros"] }
+ 
+ [[example]]

Reply via email to