From 64e50e4d60f8c0ad998bd0f1b30ec811e9b215bf Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 24 Jun 2023 12:19:02 -0600 Subject: [PATCH] Update to 25.1.0 --- python-zmq.spec | 15 +++++++++++---- sources | 2 +- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-zmq.spec b/python-zmq.spec index a179d81..30c58e5 100644 --- a/python-zmq.spec +++ b/python-zmq.spec @@ -7,8 +7,8 @@ patterns, message filtering (subscriptions), seamless access to multiple transport protocols and more.} Name: python-zmq -Version: 24.0.1 -Release: 3%{?dist} +Version: 25.1.0 +Release: 1%{?dist} Summary: Software library for fast, message-based applications License: LGPLv3+ and ASL 2.0 and BSD @@ -21,6 +21,7 @@ BuildRequires: zeromq-devel BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-pytest +BuildRequires: python%{python3_pkgversion}-pytest-asyncio BuildRequires: python%{python3_pkgversion}-tornado BuildRequires: python%{python3_pkgversion}-gevent BuildRequires: python%{python3_pkgversion}-numpy @@ -52,6 +53,10 @@ This package contains the testsuite for the python bindings. %prep %setup -q -n pyzmq-%{version} +# Upstream is testing with cython 3 on 3.12 +sed -i -e '/cython>=3/d' pyproject.toml test-requirements.txt +sed -i -e '/min_cython_version/s/"3.*"/"0.29"/' setup.py + # remove bundled libraries rm -rf bundled @@ -77,8 +82,7 @@ find . -type f -executable | xargs chmod -x %check # to avoid partially initialized zmq module from cwd cd %{_topdir} -# test_cython does not seem to work with --pyargs / not from cwd -%pytest --pyargs zmq -k "not test_cython and not test_on_recv_basic" +%pytest --pyargs zmq -v --asyncio-mode auto %files -n python%{python3_pkgversion}-zmq -f %{pyproject_files} @@ -90,6 +94,9 @@ cd %{_topdir} %changelog +* Sat Jun 24 2023 Orion Poplawski - 25.1.0-1 +- Update to 25.1.0 + * Thu Jun 22 2023 Python Maint - 24.0.1-3 - Rebuilt for Python 3.12 diff --git a/sources b/sources index e9627cb..6f1f84e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pyzmq-24.0.1.tar.gz) = 8adbcbd7afd05c00632a748b8b14bb69a89bbe3997f03dfe66a466829edf4ba4f2a5f3b199b3ead0629035c207d349e9238245e34708fd5b6eda53728d01bbf0 +SHA512 (pyzmq-25.1.0.tar.gz) = 9f29b5393c852f9b54e069e6c82488ba39d5f32d5f9af975e5c94f1c11a936c530b2ea0f3cc5753ad695563547991d4503c82781e742bebfbb973af103609d81