Package: atuin
Version: 18.3.0-2

I hope to update rust-itertools to 0.13 soon. The Debian build-dependency
in the atuin package allows the new version but the cargo dependency does
not.

After relaxing the cargo dependency I was able to build the package
successfully with the new version of rust-itertools.

debdiff is attatched
diff -Nru atuin-18.3.0/debian/changelog atuin-18.3.0/debian/changelog
--- atuin-18.3.0/debian/changelog       2024-09-08 21:59:29.000000000 +0000
+++ atuin-18.3.0/debian/changelog       2024-09-21 22:30:14.000000000 +0000
@@ -1,3 +1,10 @@
+atuin (18.3.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Relax dependency on itertools.
+
+ -- Peter Michael Green <plugw...@debian.org>  Sat, 21 Sep 2024 22:30:14 +0000
+
 atuin (18.3.0-2) unstable; urgency=medium
 
   * Enable `server`, `sync` features and related commands with downgraded
diff -Nru atuin-18.3.0/debian/patches/relax-deps.patch 
atuin-18.3.0/debian/patches/relax-deps.patch
--- atuin-18.3.0/debian/patches/relax-deps.patch        2024-09-08 
21:32:21.000000000 +0000
+++ atuin-18.3.0/debian/patches/relax-deps.patch        2024-09-21 
22:30:14.000000000 +0000
@@ -1,27 +1,62 @@
 Forwarded: not-needed
 Last-Update: 2024-09-08
---- a/Cargo.toml
-+++ b/Cargo.toml
-@@ -18 +18 @@
+Index: atuin-18.3.0/Cargo.toml
+===================================================================
+--- atuin-18.3.0.orig/Cargo.toml
++++ atuin-18.3.0/Cargo.toml
+@@ -15,9 +15,9 @@ readme = "README.md"
+ 
+ [workspace.dependencies]
+ async-trait = "0.1.58"
 -base64 = "0.22"
 +base64 = "0.21"
-@@ -20 +20 @@
+ log = "0.4"
 -time = { version = "0.3.36", features = [
 +time = { version = "0.3", features = [
-@@ -31 +31 @@
+     "serde-human-readable",
+     "macros",
+     "local-offset",
+@@ -28,7 +28,7 @@ directories = "5.0.1"
+ eyre = "0.6"
+ fs-err = "2.9"
+ interim = { version = "0.1.0", features = ["time"] }
 -itertools = "0.12.0"
-+itertools = "0.10"
-@@ -39 +39 @@
++itertools = ">= 0.10"
+ rand = { version = "0.8.5", features = ["std"] }
+ semver = "1.0.20"
+ serde = { version = "1.0.202", features = ["derive"] }
+@@ -36,10 +36,10 @@ serde_json = "1.0.116"
+ tokio = { version = "1", features = ["full"] }
+ uuid = { version = "1.8", features = ["v4", "v7", "serde"] }
+ whoami = "1.4"
 -typed-builder = "0.18.2"
 +typed-builder = "0.20"
-@@ -42 +42 @@
+ pretty_assertions = "1.3.0"
+ thiserror = "1.0"
 -rustix = { version = "0.38.34", features = ["process", "fs"] }
 +rustix = { version = "0.38", features = ["process", "fs"] }
---- a/crates/atuin/Cargo.toml
-+++ b/crates/atuin/Cargo.toml
-@@ -54 +54 @@
+ tower = "0.4"
+ tracing = "0.1"
+ 
+Index: atuin-18.3.0/crates/atuin/Cargo.toml
+===================================================================
+--- atuin-18.3.0.orig/crates/atuin/Cargo.toml
++++ atuin-18.3.0/crates/atuin/Cargo.toml
+@@ -51,7 +51,7 @@ atuin-history = { path = "../atuin-histo
+ #atuin-daemon = { path = "../atuin-daemon", version = "0.2.0" }
+ 
+ log = { workspace = true }
 -env_logger = "0.11.2"
 +env_logger = "0.10"
-@@ -81 +81 @@
+ time = { workspace = true }
+ eyre = { workspace = true }
+ directories = { workspace = true }
+@@ -78,7 +78,7 @@ tiny-bip39 = "1"
+ futures-util = "0.3"
+ fuzzy-matcher = "0.3.7"
+ colored = "2.0.4"
 -ratatui = "0.26"
 +ratatui = "0.28"
+ tracing = "0.1"
+ tracing-subscriber = { workspace = true }
+ uuid = { workspace = true }

Reply via email to