public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-jiter] epel10: Patch for serde_json≥1.0.153
@ 2026-10-26 10:37 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-10-26 10:37 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/rust-jiter
Branch : epel10
Commit : d53a01b848d914e1f6ef86e8bbb980c7e625d418
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-10-26T10:34:42+00:00
Stats : +29/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/rust-jiter/c/d53a01b848d914e1f6ef86e8bbb980c7e625d418?branch=epel10
Log:
Patch for serde_json≥1.0.153
---
diff --git a/jiter-fix-metadata.diff b/jiter-fix-metadata.diff
index 6e22da7..b2e97c6 100644
--- a/jiter-fix-metadata.diff
+++ b/jiter-fix-metadata.diff
@@ -1,6 +1,6 @@
---- jiter-0.7.1/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ jiter-0.7.1/Cargo.toml 2024-12-27T02:57:29.938792+00:00
-@@ -69,7 +69,7 @@
+--- jiter-0.5.0/Cargo.toml 1970-01-01T00:00:01+00:00
++++ jiter-0.5.0/Cargo.toml 2026-10-26T10:34:22.078703+00:00
+@@ -53,7 +53,7 @@
version = "1.0.1"
[dependencies.lexical-parse-float]
diff --git a/rust-jiter.spec b/rust-jiter.spec
index 57eea4d..38faf67 100644
--- a/rust-jiter.spec
+++ b/rust-jiter.spec
@@ -1,4 +1,4 @@
-# Generated by rust2rpm 27
+# Generated by rust2rpm 28
%bcond check 1
%global debug_package %{nil}
@@ -81,7 +81,14 @@ tomcli-set Cargo.toml del dev-dependencies.codspeed-bencher-compat
%if %{with check}
%check
-%cargo_test
+# * Since the “Report invalid UTF-8 at the first bad byte” change in serde_json
+# 1.0.153, the utf8_range test fails with a minor discrepancy in error location:
+# > thread 'utf8_range' (1240) panicked at tests/main.rs:383:17:
+# > assertion `left == right` failed
+# > left: "invalid unicode code point at line 1 column 3"
+# > right: "invalid unicode code point at line 1 column 2"
+# This is expected, considering the serde_json change, so we just skip the test.
+%cargo_test -- -- --exact --skip utf8_range
%endif
%changelog
diff --git a/rust2rpm.toml b/rust2rpm.toml
index 32e625b..9a19c85 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -17,3 +17,20 @@ post = [
"tomcli-set Cargo.toml del dev-dependencies.bencher",
"tomcli-set Cargo.toml del dev-dependencies.codspeed-bencher-compat",
]
+
+[tests]
+comments = [
+ """\
+Since the “Report invalid UTF-8 at the first bad byte” change in serde_json
+1.0.153, the utf8_range test fails with a minor discrepancy in error location:
+> thread 'utf8_range' (1240) panicked at tests/main.rs:383:17:
+> assertion `left == right` failed
+> left: "invalid unicode code point at line 1 column 3"
+> right: "invalid unicode code point at line 1 column 2"
+This is expected, considering the serde_json change, so we just skip the test.\
+""",
+]
+skip-exact = true
+skip = [
+ "utf8_range",
+]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-26 10:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-26 10:37 [rpms/rust-jiter] epel10: Patch for serde_json≥1.0.153 Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox