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/python-xxhash] rawhide: Update to 4.1.0 upstream release
Date: Mon, 09 Nov 2026 23:15:28 GMT	[thread overview]
Message-ID: <179426612801.1.16078462170591321456.rpms-python-xxhash-7a25aef6183f@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-xxhash
            Branch : rawhide
            Commit : 7a25aef6183f2a3a7302c4ba3671fa69fde24cfb
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-11-09T23:01:10+00:00
            Stats  : +80/-3 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-xxhash/c/7a25aef6183f2a3a7302c4ba3671fa69fde24cfb?branch=rawhide

            Log:
            Update to 4.1.0 upstream release

- Resolves: rhbz#2569164

Upstream tag: v4.1.0
Upstream commit: fee71df0

Commit co-authored by Packit automation (https://packit.dev/)

---
diff --git a/211.patch b/211.patch
new file mode 100644
index 0000000..46e1e5c
--- /dev/null
+++ b/211.patch
@@ -0,0 +1,74 @@
+From 18165cdcfcf38428ac64879e95a24c638dc4c397 Mon Sep 17 00:00:00 2001
+From: "Benjamin A. Beasley" <code@musicinmybrain.net>
+Date: Mon, 9 Nov 2026 22:50:44 +0000
+Subject: [PATCH] Add `@pytest.mark.benchmark` to new benchmarks
+
+---
+ tests/test_benchmark_xxh3_long.py  | 3 +++
+ tests/test_benchmark_xxh3_short.py | 4 ++++
+ 2 files changed, 7 insertions(+)
+
+diff --git a/tests/test_benchmark_xxh3_long.py b/tests/test_benchmark_xxh3_long.py
+index f652c60..7e5e614 100644
+--- a/tests/test_benchmark_xxh3_long.py
++++ b/tests/test_benchmark_xxh3_long.py
+@@ -39,6 +39,7 @@
+ }
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("size", list(SIZES))
+ @pytest.mark.parametrize("algo", list(ONESHOT))
+ def test_xxh3_long_oneshot(benchmark, algo, size):
+@@ -47,6 +48,7 @@ def test_xxh3_long_oneshot(benchmark, algo, size):
+     benchmark(func, data)
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("size", list(SIZES))
+ @pytest.mark.parametrize("algo", list(ONESHOT))
+ def test_xxh3_long_oneshot_seed(benchmark, algo, size):
+@@ -55,6 +57,7 @@ def test_xxh3_long_oneshot_seed(benchmark, algo, size):
+     benchmark(func, data, SEED)
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("algo", list(STREAM))
+ def test_xxh3_long_stream_update_16mb(benchmark, algo):
+     cls = STREAM[algo]
+diff --git a/tests/test_benchmark_xxh3_short.py b/tests/test_benchmark_xxh3_short.py
+index 69b7b07..dda1b5a 100644
+--- a/tests/test_benchmark_xxh3_short.py
++++ b/tests/test_benchmark_xxh3_short.py
+@@ -34,6 +34,7 @@
+ }
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("size", list(SIZES))
+ @pytest.mark.parametrize("algo", list(ONESHOT))
+ def test_xxh3_short_oneshot(benchmark, algo, size):
+@@ -42,6 +43,7 @@ def test_xxh3_short_oneshot(benchmark, algo, size):
+     benchmark(func, data)
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("size", list(SIZES))
+ @pytest.mark.parametrize("algo", list(ONESHOT))
+ def test_xxh3_short_oneshot_seed(benchmark, algo, size):
+@@ -50,6 +52,7 @@ def test_xxh3_short_oneshot_seed(benchmark, algo, size):
+     benchmark(func, data, SEED)
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("algo", list(STREAM))
+ def test_xxh3_short_stream_update_64b(benchmark, algo):
+     cls = STREAM[algo]
+@@ -69,6 +72,7 @@ def run():
+ }
+ 
+ 
++@pytest.mark.benchmark
+ @pytest.mark.parametrize("size", list(XXH64_DATA))
+ def test_xxh64_control(benchmark, size):
+     benchmark(xxhash.xxh64_intdigest, XXH64_DATA[size])

diff --git a/README.packit b/README.packit
index f1307cd..d2f4bee 100644
--- a/README.packit
+++ b/README.packit
@@ -1,3 +1,3 @@
 This repository is maintained by packit.
 https://packit.dev/
-The file was generated using packit 1.16.3.post1.dev27+g2e3440a26.
+The file was generated using packit 1.17.0.post1.dev7+gd5cdd2e55.

diff --git a/python-xxhash.spec b/python-xxhash.spec
index 83e6b2f..a371ae2 100644
--- a/python-xxhash.spec
+++ b/python-xxhash.spec
@@ -1,5 +1,5 @@
 Name:           python-xxhash
-Version:        4.0.2
+Version:        4.1.0
 Release:        %autorelease
 Summary:        Python Binding for xxHash
 
@@ -9,6 +9,9 @@ URL:            https://github.com/ifduyue/python-xxhash
 # portions of the xxhash C library would also be present in the source archive;
 # it is under the same license and should be removed in %%prep.
 Source:         %{url}/archive/v%{version}/python-xxhash-%{version}.tar.gz
+# Add `@pytest.mark.benchmark` to new benchmarks
+# https://github.com/ifduyue/python-xxhash/pull/211
+Patch:          %{url}/pull/211.patch
 
 BuildSystem:    pyproject
 BuildOption(install): --assert-license xxhash

diff --git a/sources b/sources
index 6b0b218..d3f3f3d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (python-xxhash-4.0.2.tar.gz) = 28c493bff8335d3ca1aecedddc21623816ac3daf98b40dd389ffcf23e85ed07b1a612d0feed183b3677cf9d172ff91c46401608fe6014aa8015db53550091bfc
+SHA512 (python-xxhash-4.1.0.tar.gz) = 8b5baf3ab4386a93ba5f115500fbaceedf85d3d757d4b3bc9204428b5168e15194204abfd3068c3f9ace79f3fb5d492af1891ed23955439c10b49dec4bcbca96

                 reply	other threads:[~2026-11-09 23:15 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=179426612801.1.16078462170591321456.rpms-python-xxhash-7a25aef6183f@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