Update to 24.10.1

This commit is contained in:
Orion Poplawski 2024-10-09 20:46:23 -06:00
commit 25d0d2fcf6
3 changed files with 17 additions and 7 deletions

1
.gitignore vendored
View file

@ -30,3 +30,4 @@ gevent-0.13.0.tar.gz
/gevent-23.7.0.tar.gz
/gevent-23.9.1.tar.gz
/gevent-24.2.1.tar.gz
/gevent-24.10.1.tar.gz

View file

@ -3,13 +3,15 @@
%global optflags %(echo %{optflags} -I%{_includedir}/libev)
Name: python-%{modname}
Version: 24.2.1
Release: 3%{?dist}
Version: 24.10.1
Release: 1%{?dist}
Summary: A coroutine-based Python networking library
License: MIT
URL: http://www.gevent.org/
Source0: %{pypi_source %{modname} %{version} tar.gz}
Source0: https://github.com/gevent/gevent/archive/%{version}/%{modname}-%{version}.tar.gz
# No pypi source for 24.10.1 yet - https://github.com/gevent/gevent/issues/2063
#Source0: %{pypi_source %{modname} %{version} tar.gz}
# avoid incompatible types error with Cython 3.0.10
# https://github.com/gevent/gevent/issues/2031
Patch0: cython3010.patch
@ -68,9 +70,12 @@ rm -r deps
# go into debuginfo as normal.
sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py
# Force re-cythonizing the sources
rm $(grep -rl '/\* Generated by Cython')
rm src/gevent/_generated_include/*
# Force re-cythonizing the sources - missing with github tarballs
rm -f $(grep -rl '/\* Generated by Cython')
rm -f src/gevent/_generated_include/*
# Test requires network, fails in mock/koji
mv src/gevent/tests/test__resolver_dnspython.py{,.needsnetwork}
%build
export GEVENTSETUP_EMBED=0
@ -86,6 +91,7 @@ find %{buildroot} -name '*.so' -exec chmod 755 {} ';'
%check
export PYTHONPATH=%{buildroot}%{python3_sitearch}
# test_resolution is failing - https://github.com/gevent/gevent/issues/2064
%__python3 -m gevent.tests || :
cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subprocess*.py
@ -95,6 +101,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr
%{python3_sitearch}/%{modname}*
%changelog
* Thu Oct 10 2024 Orion Poplawski <orion@nwra.com> - 24.10.1-1
- Update to 24.10.1
* Tue Sep 24 2024 Orion Poplawski <orion@nwra.com> - 24.2.1-3
- Add patch to fix build with Cython 3.0.10 (FTBFS rhbz#2275488)

View file

@ -1 +1 @@
SHA512 (gevent-24.2.1.tar.gz) = 4fcef5295fa332c560dc96a0c1643bb03ea25f10a7f386f7779bc1a79d209b0017b18c56f28ff3f9ae6b2b8836d572cd5790ea021e10e016d2148be741621bed
SHA512 (gevent-24.10.1.tar.gz) = 46f72091b6e8a8b86fd83031401b88878f72e549f81eff429f6f95f7dc8061d8f2b1ea82c73c402523babf4e5c4d9f8881ef36d83ab6278322ce03e7f59914f3