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-zip] f43: Skip a brittle test that checks exact compressed size
Date: Tue, 23 Jun 2026 08:40:35 GMT	[thread overview]
Message-ID: <178220403535.1.4934534854733629286.rpms-rust-zip-ddbb8a01d8f6@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-zip
Branch : f43
Commit : ddbb8a01d8f632ded61672ea78a4192eda1a1ba0
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-03T21:35:41+01:00
Stats  : +16/-3 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-zip/c/ddbb8a01d8f632ded61672ea78a4192eda1a1ba0?branch=f43

Log:
Skip a brittle test that checks exact compressed size

---
diff --git a/rust-zip.spec b/rust-zip.spec
index c240df6..1db0bd0 100644
--- a/rust-zip.spec
+++ b/rust-zip.spec
@@ -388,7 +388,9 @@ use the "zstd" feature of the "%{crate}" crate.
 %check
 # Extract test data (only) from the GitHub archive
 tar -xzvf '%{SOURCE10}' --strip-components=1 'zip2-%{version}/tests/data/'
-%cargo_test -a
+# * zip_read_streaming_compressed expects a particular compressed size in bytes,
+#   which is too brittle
+%cargo_test -a -- -- --exact --skip read::stream::tests::zip_read_streaming_compressed
 %endif
 
 %changelog

diff --git a/rust2rpm.toml b/rust2rpm.toml
index 109f250..c99ba23 100644
--- a/rust2rpm.toml
+++ b/rust2rpm.toml
@@ -48,3 +48,14 @@ check.pre = [
     "tar -xzvf '%{SOURCE10}' --strip-components=1 'zip2-%{version}/tests/data/'",
 ]
 
+[tests]
+comments = [
+    """\
+zip_read_streaming_compressed expects a particular compressed size in bytes, \
+which is too brittle
+""",
+]
+skip-exact = true
+skip = [
+    "read::stream::tests::zip_read_streaming_compressed",
+]

diff --git a/zip-fix-metadata-auto.diff b/zip-fix-metadata-auto.diff
index 1a8100f..4f94b1d 100644
--- a/zip-fix-metadata-auto.diff
+++ b/zip-fix-metadata-auto.diff
@@ -1,5 +1,5 @@
 --- zip-8.5.1/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ zip-8.5.1/Cargo.toml	2026-05-20T21:30:12.791436+00:00
++++ zip-8.5.1/Cargo.toml	2026-06-03T20:35:31.475666+00:00
 @@ -275,25 +275,3 @@
  version = "0.4"
  default-features = false

diff --git a/zip-fix-metadata.diff b/zip-fix-metadata.diff
index 09d87b0..186f28b 100644
--- a/zip-fix-metadata.diff
+++ b/zip-fix-metadata.diff
@@ -1,5 +1,5 @@
 --- zip-8.5.1/Cargo.toml	2006-07-24T01:21:28+00:00
-+++ zip-8.5.1/Cargo.toml	2026-05-20T21:30:12.792720+00:00
++++ zip-8.5.1/Cargo.toml	2026-06-03T20:35:31.477061+00:00
 @@ -108,10 +108,6 @@
      "deflate-flate2",
      "flate2/zlib-ng",

                 reply	other threads:[~2026-06-23  8:40 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=178220403535.1.4934534854733629286.rpms-rust-zip-ddbb8a01d8f6@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