public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-jiter] epel10: Patch for serde_json≥1.0.153
Date: Mon, 26 Oct 2026 10:37:53 GMT	[thread overview]
Message-ID: <179301107355.1.8160882656480558123.rpms-rust-jiter-d53a01b848d9@fedoraproject.org> (raw)

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",
+]

                 reply	other threads:[~2026-10-26 10:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179301107355.1.8160882656480558123.rpms-rust-jiter-d53a01b848d9@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox