[Pkg-rust-maintainers] Bug#1025912: rust-serde-yaml: please upgrade to v0.9

Peter Green plugwash at debian.org
Thu Jul 27 20:19:19 BST 2023


block 1025912 by 1042405
thanks

On 22/07/2023 06:16, peter green wrote:
> rust-test-case - jonas package, only seems to be used for tests, further investigation needed.
Seems to build and run autopkgtests fine after bumping the dependency. Debdiff attatched.

> squeekboard - not investigated yet.

Tests fail after bumping dependency.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1042405

> rust-config-file - not investigated yet.

cargo test --all --all-targets --all-features passes after bumping dependency.

> rust-treediff - not investigated yet.

Optional dependency, no rdeps.

Feature fails to build with new serde-yaml, I've filed a bug upstream but the
project seems fairly dead. I'll probablly patch away the feature if it's not fixed
by the time squeekboard is ready.

https://github.com/Byron/treediff-rs/issues/11

> 
> I also looked at the forward dependencies, and discovered that the unsafe-libyaml
> crate is needed. Blair Noctis had packaged it but it needed sponsorship. It's now in NEW.

It has now passed NEW and I have uploaded the new rust-serde-yaml to experimental.
-------------- next part --------------
diff -Nru rust-test-case-2.2.2/debian/changelog rust-test-case-2.2.2/debian/changelog
--- rust-test-case-2.2.2/debian/changelog	2023-02-03 10:09:10.000000000 +0000
+++ rust-test-case-2.2.2/debian/changelog	2023-07-27 17:05:52.000000000 +0000
@@ -1,3 +1,10 @@
+rust-test-case (2.2.2-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Bump serde-yaml dev-dependency to 0.9
+
+ -- Peter Michael Green <plugwash at debian.org>  Thu, 27 Jul 2023 17:05:52 +0000
+
 rust-test-case (2.2.2-6) unstable; urgency=medium
 
   * tighten autopkgtests
diff -Nru rust-test-case-2.2.2/debian/control rust-test-case-2.2.2/debian/control
--- rust-test-case-2.2.2/debian/control	2023-02-03 10:07:37.000000000 +0000
+++ rust-test-case-2.2.2/debian/control	2023-07-27 17:05:51.000000000 +0000
@@ -15,7 +15,7 @@
  librust-proc-macro2-1-dev <!nocheck>,
  librust-quote-1+default-dev <!nocheck>,
  librust-regex-1+default-dev (>= 1.5) <!nocheck>,
- librust-serde-yaml-0.8+default-dev (>= 0.8.25) <!nocheck>,
+ librust-serde-yaml-0.9+default-dev <!nocheck>,
  librust-syn-1+extra-traits-dev <!nocheck>,
  librust-syn-1+full-dev <!nocheck>,
  libstring-shellquote-perl,
diff -Nru rust-test-case-2.2.2/debian/patches/2001_deps.patch rust-test-case-2.2.2/debian/patches/2001_deps.patch
--- rust-test-case-2.2.2/debian/patches/2001_deps.patch	2022-12-03 21:18:47.000000000 +0000
+++ rust-test-case-2.2.2/debian/patches/2001_deps.patch	2023-07-27 17:05:11.000000000 +0000
@@ -1,7 +1,8 @@
 Description: relax crate dependencies
  Needed to match Debian-packaged crates.
 Author: Jonas Smedegaard <dr at jones.dk>
-Last-Update: 2022-10-26
+Author: Peter Michael Green <plugwash at debian.org>
+Last-Update: 2022-07-26
 ---
 This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
 --- a/Cargo.toml
@@ -14,7 +15,7 @@
 -serde_yaml      = "=0.8.25"
 -linked-hash-map = "=0.5.4"
 +indexmap        = "1.8.2"
-+serde_yaml      = "0.8.25"
++serde_yaml      = "0.9"
 +linked-hash-map = "0.5.4"
  regex           = "1.5"
 -once_cell       = "=1.13.0"
diff -Nru rust-test-case-2.2.2/debian/tests/control rust-test-case-2.2.2/debian/tests/control
--- rust-test-case-2.2.2/debian/tests/control	2023-02-03 09:56:08.000000000 +0000
+++ rust-test-case-2.2.2/debian/tests/control	2023-07-27 17:05:52.000000000 +0000
@@ -9,7 +9,7 @@
  librust-linked-hash-map-0.5+default-dev,
  librust-once-cell-1+default-dev,
  librust-regex-1+default-dev (>= 1.5),
- librust-serde-yaml-0.8+default-dev,
+ librust-serde-yaml-0.9+default-dev,
  librust-test-case-2-dev,
 Restrictions: allow-stderr
 
@@ -24,7 +24,7 @@
  librust-linked-hash-map-0.5+default-dev,
  librust-once-cell-1+default-dev,
  librust-regex-1+default-dev (>= 1.5),
- librust-serde-yaml-0.8+default-dev,
+ librust-serde-yaml-0.9+default-dev,
  librust-test-case-2+default-dev,
 Restrictions: allow-stderr
 
@@ -39,7 +39,7 @@
  librust-linked-hash-map-0.5+default-dev,
  librust-once-cell-1+default-dev,
  librust-regex-1+default-dev (>= 1.5),
- librust-serde-yaml-0.8+default-dev,
+ librust-serde-yaml-0.9+default-dev,
  librust-test-case-2-dev,
 Restrictions: allow-stderr
 
@@ -54,6 +54,6 @@
  librust-linked-hash-map-0.5+default-dev,
  librust-once-cell-1+default-dev,
  librust-regex-1+default-dev (>= 1.5),
- librust-serde-yaml-0.8+default-dev,
+ librust-serde-yaml-0.9+default-dev,
  librust-test-case-2+with-regex-dev,
 Restrictions: allow-stderr


More information about the Pkg-rust-maintainers mailing list