public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-zmq] epel10: Update to 27.2.0 upstream release
@ 2026-08-22 7:13 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-08-22 7:13 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-22 7:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-22 7:13 [rpms/python-zmq] epel10: Update to 27.2.0 upstream release 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