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-zmq] epel10: Update to 27.2.0 upstream release
Date: Sat, 22 Aug 2026 07:13:03 GMT	[thread overview]
Message-ID: <178738278391.1.8744863376291428982.rpms-python-zmq-98a97f8906f7@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-zmq
            Branch : epel10
            Commit : 98a97f8906f78a86b0215b328284efce8792514a
            Author : Benjamin A. Beasley <code@musicinmybrain.net>
            Date   : 2026-08-22T08:10:13+01:00
            Stats  : +14/-39 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-zmq/c/98a97f8906f78a86b0215b328284efce8792514a?branch=epel10

            Log:
            Update to 27.2.0 upstream release

- Resolves: rhbz#2520725

Upstream tag: v27.2.0
Upstream commit: c6bc8f20

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

---
diff --git a/2202.patch b/2202.patch
deleted file mode 100644
index 5ec4518..0000000
--- a/2202.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 3e29bae36e71cc6ed60566a5681b58f91d9d2b20 Mon Sep 17 00:00:00 2001
-From: "Benjamin A. Beasley" <code@musicinmybrain.net>
-Date: Sat, 18 Jul 2026 06:55:47 +0100
-Subject: [PATCH] Fix TestFrame.test_buffer_numpy on numpy 2.5
-
-https://numpy.org/doc/stable/release/2.5.0-notes.html#expired-deprecations:
-Data type alias `a` was removed in favor of `S`. (deprecated since 2.0)
----
- tests/test_message.py | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/tests/test_message.py b/tests/test_message.py
-index 77de12cb0..1b77100cc 100644
---- a/tests/test_message.py
-+++ b/tests/test_message.py
-@@ -341,7 +341,7 @@ def test_buffer_numpy(self):
-                 B = numpy.frombuffer(msg, A.dtype).reshape(A.shape)
-                 assert_array_equal(A, B)
- 
--            A = numpy.empty(shape, dtype=[('a', int), ('b', float), ('c', 'a32')])
-+            A = numpy.empty(shape, dtype=[('a', int), ('b', float), ('c', 'S32')])
-             A['a'] = 1024
-             A['b'] = 1e9
-             A['c'] = 'hello there'

diff --git a/README.packit b/README.packit
index fb341a1..09d231a 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.11.0.post1.dev7+gfdcdf3a32.
+The file was generated using packit 1.16.2.post1.dev12+g819bb7962.

diff --git a/python-zmq.spec b/python-zmq.spec
index b23a545..d58a406 100644
--- a/python-zmq.spec
+++ b/python-zmq.spec
@@ -2,7 +2,7 @@
 %bcond gevent 1
 
 Name:           python-zmq
-Version:        27.1.0
+Version:        27.2.0
 Release:        %autorelease
 Summary:        Python bindings for zeromq
 
@@ -45,16 +45,22 @@ URL:            https://zeromq.org/languages/python/
 %global forgeurl https://github.com/zeromq/pyzmq
 Source:         %{forgeurl}/archive/v%{version}/pyzmq-%{version}.tar.gz
 
-# Fix TestFrame.test_buffer_numpy on numpy 2.5
-# https://github.com/zeromq/pyzmq/pull/2202
-Patch:          %{forgeurl}/pull/2202.patch
-
 BuildRequires:  gcc
 # This package contains no C++ code, but there are some checks in
 # CMakeLists.txt that need a C++ compiler.
 BuildRequires:  gcc-c++
 BuildRequires:  pkgconfig(libzmq)
 
+# Test dependencies from test-requirements.txt, which also has many unwanted
+# dependencies for linting, typechecking, coverage analysis, and so on, so we
+# list the ones we actually need manually. Notes:
+# - pymongo is used only in examples/mongodb/, and we don’t run examples
+BuildRequires:  %{py3_dist cython}
+BuildRequires:  %{py3_dist pytest}
+BuildRequires:  %{py3_dist pytest-asyncio}
+BuildRequires:  %{py3_dist pytest-rerunfailures}
+BuildRequires:  %{py3_dist setuptools}
+BuildRequires:  %{py3_dist tornado}
 # Add some manual test dependencies that aren’t in test-requirements.txt, but
 # which enable additional tests.
 #
@@ -120,16 +126,9 @@ find 'src' -type f -name '*.py' \
     -exec gawk '/^#!/ { print FILENAME }; { nextfile }' '{}' '+' |
   xargs --no-run-if-empty sed --regexp-extended --in-place '1{/^#!/d}'
 
-# https://docs.fedoraproject.org/en-US/packaging-guidelines/Python/#_linters
-# - pymongo is used only in examples/mongodb/, and we don’t run examples
-sed --regexp-extended \
-    --expression='s/^(black|codecov|coverage|flake8|mypy|pytest-cov)\b/# &/' \
-    --expression='s/^(pymongo)\b/# &/' \
-    test-requirements.txt | tee test-requirements-filtered.txt
-
 
 %generate_buildrequires
-%pyproject_buildrequires test-requirements-filtered.txt
+%pyproject_buildrequires
 
 
 %build

diff --git a/sources b/sources
index cf6872f..1861401 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyzmq-27.1.0.tar.gz) = 621f7374861198dfddf1f667e4af24dd874a239a623961c27c148b1e525492d409ba830a3bfe5cf8eed1d61a094b3993daf6911fb11734e398d7594b15c06543
+SHA512 (pyzmq-27.2.0.tar.gz) = 71b9002c5a887fbe502992573357e4be9d6ef774e001a6c8935a3ce7ea0042f49210fc5715ff90392ee690a5701e624c24eef23b2eb12bd36d62e44f362531bf

                 reply	other threads:[~2026-08-22  7:13 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=178738278391.1.8744863376291428982.rpms-python-zmq-98a97f8906f7@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