Update to 25.1.0

This commit is contained in:
Orion Poplawski 2023-06-24 12:19:02 -06:00 committed by Miro Hrončok
parent fba34611ce
commit 64e50e4d60
2 changed files with 12 additions and 5 deletions

View File

@ -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 <orion@nwra.com> - 25.1.0-1
- Update to 25.1.0
* Thu Jun 22 2023 Python Maint <python-maint@redhat.com> - 24.0.1-3
- Rebuilt for Python 3.12

View File

@ -1 +1 @@
SHA512 (pyzmq-24.0.1.tar.gz) = 8adbcbd7afd05c00632a748b8b14bb69a89bbe3997f03dfe66a466829edf4ba4f2a5f3b199b3ead0629035c207d349e9238245e34708fd5b6eda53728d01bbf0
SHA512 (pyzmq-25.1.0.tar.gz) = 9f29b5393c852f9b54e069e6c82488ba39d5f32d5f9af975e5c94f1c11a936c530b2ea0f3cc5753ad695563547991d4503c82781e742bebfbb973af103609d81