From 2ddfb8eb10a91f4d2c438a8fa60e7dcdb9009741 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 17 Feb 2024 19:19:36 -0700 Subject: [PATCH 01/21] Update to 23.9.1 --- .gitignore | 1 + python-gevent.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 45b001a..61df46e 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ gevent-0.13.0.tar.gz /gevent-21.12.0.tar.gz /gevent-22.10.2.tar.gz /gevent-23.7.0.tar.gz +/gevent-23.9.1.tar.gz diff --git a/python-gevent.spec b/python-gevent.spec index ec5022f..c0a6fe0 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,8 +3,8 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 23.7.0 -Release: 4%{?dist} +Version: 23.9.1 +Release: 1%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -92,6 +92,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Sat Feb 17 2024 Orion Poplawski - 23.9.1-1 +- Update to 23.9.1 CVE-2023-41419 (bz#2242244) + * Fri Jan 26 2024 Fedora Release Engineering - 23.7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild diff --git a/sources b/sources index 4b8f562..18ce008 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-23.7.0.tar.gz) = d452e58e96ba5b7f995b9a762fe378cef24a728a5291b3df069ff50815b336c6ad7bdbe0341c6c9c821dea6fc1a6601aec9d8c9c18aea8045bbcddb2f9240198 +SHA512 (gevent-23.9.1.tar.gz) = c0600a5f9e50040009c3467ad802dda8a48422dca4e781acc9ca3428446399932da2f07d7345936ef634783611cf664d219f614980ed6b936f4a510e56ea753c From 2061eebcdb19d964381a1c6ba98a5da5d07786e6 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 23:24:00 +0200 Subject: [PATCH 02/21] Rebuilt for Python 3.13 --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index c0a6fe0..42d8173 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 23.9.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -92,6 +92,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Jun 07 2024 Python Maint - 23.9.1-2 +- Rebuilt for Python 3.13 + * Sat Feb 17 2024 Orion Poplawski - 23.9.1-1 - Update to 23.9.1 CVE-2023-41419 (bz#2242244) From fe180eb9e7e6240ff4c6a27907e72cd42ccc4973 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Thu, 13 Jun 2024 22:12:29 -0600 Subject: [PATCH 03/21] Update to 24.2.1 Update to 24.2.1 --- .gitignore | 1 + python-gevent.spec | 7 +++++-- sources | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 61df46e..a40c87d 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ gevent-0.13.0.tar.gz /gevent-22.10.2.tar.gz /gevent-23.7.0.tar.gz /gevent-23.9.1.tar.gz +/gevent-24.2.1.tar.gz diff --git a/python-gevent.spec b/python-gevent.spec index 42d8173..be4b4a1 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,8 +3,8 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 23.9.1 -Release: 2%{?dist} +Version: 24.2.1 +Release: 1%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -92,6 +92,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Jun 14 2024 Orion Poplawski - 24.2.1-1 +- Update to 24.2.1 + * Fri Jun 07 2024 Python Maint - 23.9.1-2 - Rebuilt for Python 3.13 diff --git a/sources b/sources index 18ce008..fcd8a9b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-23.9.1.tar.gz) = c0600a5f9e50040009c3467ad802dda8a48422dca4e781acc9ca3428446399932da2f07d7345936ef634783611cf664d219f614980ed6b936f4a510e56ea753c +SHA512 (gevent-24.2.1.tar.gz) = 4fcef5295fa332c560dc96a0c1643bb03ea25f10a7f386f7779bc1a79d209b0017b18c56f28ff3f9ae6b2b8836d572cd5790ea021e10e016d2148be741621bed From b23d186d0f5d5615deb07447d36ea81c719e5890 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jul 2024 11:53:54 +0000 Subject: [PATCH 04/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index be4b4a1..a03d8f2 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.2.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -92,6 +92,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Jul 19 2024 Fedora Release Engineering - 24.2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Fri Jun 14 2024 Orion Poplawski - 24.2.1-1 - Update to 24.2.1 From 8e0113b937544135870879be0469f59976bad2cd Mon Sep 17 00:00:00 2001 From: Yaakov Selkowitz Date: Mon, 23 Sep 2024 11:55:30 -0400 Subject: [PATCH 05/21] Fix build with Cython 3.0.10 https://github.com/gevent/gevent/issues/2031 --- cython3010.patch | 12 ++++++++++++ python-gevent.spec | 3 +++ 2 files changed, 15 insertions(+) create mode 100644 cython3010.patch diff --git a/cython3010.patch b/cython3010.patch new file mode 100644 index 0000000..87fdcd1 --- /dev/null +++ b/cython3010.patch @@ -0,0 +1,12 @@ +https://github.com/gevent/gevent/issues/2031 + +--- a/src/gevent/_gevent_cqueue.pxd ++++ b/src/gevent/_gevent_cqueue.pxd +@@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter): + cdef readonly Queue queue + + +-@cython.final + cdef class UnboundQueue(Queue): + pass + diff --git a/python-gevent.spec b/python-gevent.spec index a03d8f2..7a07e83 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -10,6 +10,9 @@ Summary: A coroutine-based Python networking library License: MIT URL: http://www.gevent.org/ 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 BuildRequires: gcc BuildRequires: c-ares-devel From e7ce3959d9c4fe8ecf044494dbc85bb7b2bab0e7 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 23 Sep 2024 20:18:03 -0600 Subject: [PATCH 06/21] Bump release --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index 7a07e83..a6fafb5 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.2.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -95,6 +95,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Tue Sep 24 2024 Orion Poplawski - 24.2.1-3 +- Add patch to fix build with Cython 3.0.10 (FTBFS rhbz#2275488) + * Fri Jul 19 2024 Fedora Release Engineering - 24.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 25d0d2fcf6f8453a2d01354b75f21aeb8b8021af Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Wed, 9 Oct 2024 20:46:23 -0600 Subject: [PATCH 07/21] Update to 24.10.1 --- .gitignore | 1 + python-gevent.spec | 21 +++++++++++++++------ sources | 2 +- 3 files changed, 17 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index a40c87d..3c38af5 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/python-gevent.spec b/python-gevent.spec index a6fafb5..977686b 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -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 - 24.10.1-1 +- Update to 24.10.1 + * Tue Sep 24 2024 Orion Poplawski - 24.2.1-3 - Add patch to fix build with Cython 3.0.10 (FTBFS rhbz#2275488) diff --git a/sources b/sources index fcd8a9b..6899ee4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-24.2.1.tar.gz) = 4fcef5295fa332c560dc96a0c1643bb03ea25f10a7f386f7779bc1a79d209b0017b18c56f28ff3f9ae6b2b8836d572cd5790ea021e10e016d2148be741621bed +SHA512 (gevent-24.10.1.tar.gz) = 46f72091b6e8a8b86fd83031401b88878f72e549f81eff429f6f95f7dc8061d8f2b1ea82c73c402523babf4e5c4d9f8881ef36d83ab6278322ce03e7f59914f3 From b9b30dac338e776d64b3fee1ec3c0901f1a2cf83 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 11 Oct 2024 07:43:54 -0600 Subject: [PATCH 08/21] Update to 24.10.2 --- .gitignore | 1 + cython3010.patch | 12 ------------ python-gevent.spec | 12 +++++------- sources | 2 +- 4 files changed, 7 insertions(+), 20 deletions(-) delete mode 100644 cython3010.patch diff --git a/.gitignore b/.gitignore index 3c38af5..892cfd5 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,4 @@ gevent-0.13.0.tar.gz /gevent-23.9.1.tar.gz /gevent-24.2.1.tar.gz /gevent-24.10.1.tar.gz +/gevent-24.10.2.tar.gz diff --git a/cython3010.patch b/cython3010.patch deleted file mode 100644 index 87fdcd1..0000000 --- a/cython3010.patch +++ /dev/null @@ -1,12 +0,0 @@ -https://github.com/gevent/gevent/issues/2031 - ---- a/src/gevent/_gevent_cqueue.pxd -+++ b/src/gevent/_gevent_cqueue.pxd -@@ -75,7 +75,6 @@ cdef class ItemWaiter(Waiter): - cdef readonly Queue queue - - --@cython.final - cdef class UnboundQueue(Queue): - pass - diff --git a/python-gevent.spec b/python-gevent.spec index 977686b..273bedc 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,18 +3,13 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 24.10.1 +Version: 24.10.2 Release: 1%{?dist} Summary: A coroutine-based Python networking library License: MIT URL: http://www.gevent.org/ -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 +Source0: %{pypi_source %{modname} %{version} tar.gz} BuildRequires: gcc BuildRequires: c-ares-devel @@ -101,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Oct 11 2024 Orion Poplawski - 24.10.2-1 +- Update to 24.10.2 + * Thu Oct 10 2024 Orion Poplawski - 24.10.1-1 - Update to 24.10.1 diff --git a/sources b/sources index 6899ee4..a5530d7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-24.10.1.tar.gz) = 46f72091b6e8a8b86fd83031401b88878f72e549f81eff429f6f95f7dc8061d8f2b1ea82c73c402523babf4e5c4d9f8881ef36d83ab6278322ce03e7f59914f3 +SHA512 (gevent-24.10.2.tar.gz) = b1dc525d25434301d5b774745fc9870cc3d5b24cb8cddae425291635a1a78b1d8db957e9faa3edce020a3727f5a833efb5a52cfdd2312e6e30129744474933da From a10bffa1dbf52049df6f0a8c8ef8b615acc06f65 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 11 Nov 2024 08:50:58 -0700 Subject: [PATCH 09/21] Update to 24.11.1 --- .gitignore | 1 + python-gevent.spec | 5 ++++- sources | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 892cfd5..d85fd18 100644 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,4 @@ gevent-0.13.0.tar.gz /gevent-24.2.1.tar.gz /gevent-24.10.1.tar.gz /gevent-24.10.2.tar.gz +/gevent-24.11.1.tar.gz diff --git a/python-gevent.spec b/python-gevent.spec index 273bedc..847f19b 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,7 +3,7 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 24.10.2 +Version: 24.11.1 Release: 1%{?dist} Summary: A coroutine-based Python networking library @@ -96,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Mon Nov 11 2024 Orion Poplawski - 24.11.1-1 +- Update to 24.11.1 + * Fri Oct 11 2024 Orion Poplawski - 24.10.2-1 - Update to 24.10.2 diff --git a/sources b/sources index a5530d7..35091ad 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-24.10.2.tar.gz) = b1dc525d25434301d5b774745fc9870cc3d5b24cb8cddae425291635a1a78b1d8db957e9faa3edce020a3727f5a833efb5a52cfdd2312e6e30129744474933da +SHA512 (gevent-24.11.1.tar.gz) = 7507bd754e6c862cd5e7821ded8dd05422d09cc26d0b7e6d889cb91f27661fff09a1949bf6d21c35aee63fa9f520b840f236adb6b4c19aa7da46971eb51a1b22 From 06c90b3a9025fcdf1deb69282185e8b9fa2e5db4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 18 Jan 2025 14:39:43 +0000 Subject: [PATCH 10/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index 847f19b..7945a81 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.11.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -96,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Sat Jan 18 2025 Fedora Release Engineering - 24.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Mon Nov 11 2024 Orion Poplawski - 24.11.1-1 - Update to 24.11.1 From a5bd047a9928386c8909414ce92b3436ec579aef Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 4 Jun 2025 21:30:40 +0200 Subject: [PATCH 11/21] Rebuilt for Python 3.14 --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index 7945a81..5fb3c7a 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.11.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -96,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Wed Jun 04 2025 Python Maint - 24.11.1-3 +- Rebuilt for Python 3.14 + * Sat Jan 18 2025 Fedora Release Engineering - 24.11.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From d1d2833eb99ccb907b9511ae1c645bb8632fc118 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 08:05:43 +0000 Subject: [PATCH 12/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index 5fb3c7a..3629d44 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.11.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -96,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 24.11.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Wed Jun 04 2025 Python Maint - 24.11.1-3 - Rebuilt for Python 3.14 From 68f41e891749597dfaead0c792a9b0aeb3615d16 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 13:48:56 +0200 Subject: [PATCH 13/21] Rebuilt for Python 3.14.0rc2 bytecode --- python-gevent.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gevent.spec b/python-gevent.spec index 3629d44..d4be78d 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.11.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A coroutine-based Python networking library License: MIT @@ -96,6 +96,9 @@ cd src/gevent/tests && GEVENT_FILE=thread %__python3 -mgevent.tests test__*subpr %{python3_sitearch}/%{modname}* %changelog +* Fri Aug 15 2025 Python Maint - 24.11.1-5 +- Rebuilt for Python 3.14.0rc2 bytecode + * Fri Jul 25 2025 Fedora Release Engineering - 24.11.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From b4a904db8d1c38d76e53ffa3bf9cd70e559f0047 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Sat, 23 Aug 2025 13:05:42 +0200 Subject: [PATCH 14/21] Use pyproject macros --- python-gevent.spec | 314 +++------------------------------------------ 1 file changed, 15 insertions(+), 299 deletions(-) diff --git a/python-gevent.spec b/python-gevent.spec index d4be78d..3a74b08 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -4,7 +4,7 @@ Name: python-%{modname} Version: 24.11.1 -Release: 5%{?dist} +Release: %autorelease Summary: A coroutine-based Python networking library License: MIT @@ -32,14 +32,8 @@ Features include: %package -n python3-%{modname} Summary: %{summary} BuildRequires: python3-devel -BuildRequires: python3-Cython BuildRequires: python3-greenlet-devel >= 2.0.0 -BuildRequires: python3-setuptools -# For tests -BuildRequires: python3-dns -BuildRequires: python3-psutil BuildRequires: python3-zope-event -BuildRequires: python3-zope-interface %description -n python3-%{modname} gevent is a coroutine-based Python networking library that uses greenlet to @@ -54,16 +48,16 @@ Features include: * DNS requests done through libevent-dns * monkey patching utility to get pure Python modules to cooperate -Python 3 version. - %prep -%autosetup -p1 -n %{modname}-%{version} +%autosetup -n %{modname}-%{version} # Remove bundled libraries rm -r deps # Upstream intentionally includes C extension sources in the built package, # because... reasons (PyPy I think?) however we do not want that. Sources will # go into debuginfo as normal. sed -i -e 's/include_package_data=True/include_package_data=False/' setup.py +# No linters +sed -i -e '/coverage/d' -e '/objgraph/d' setup.py # Force re-cythonizing the sources - missing with github tarballs rm -f $(grep -rl '/\* Generated by Cython') @@ -72,308 +66,30 @@ rm -f src/gevent/_generated_include/* # Test requires network, fails in mock/koji mv src/gevent/tests/test__resolver_dnspython.py{,.needsnetwork} +%generate_buildrequires +%pyproject_buildrequires -t + %build export GEVENTSETUP_EMBED=0 -# Build Python 3 first to use Python 3 Cython -%py3_build +%pyproject_wheel %install export GEVENTSETUP_EMBED=0 -%py3_install +%pyproject_install find %{buildroot} -name '.buildinfo' -delete # Correct the permissions. find %{buildroot} -name '*.so' -exec chmod 755 {} ';' +%pyproject_save_files -l %{modname} %check +%pyproject_check_import -t 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 +%{py3_test_envvars} %{python3} -m gevent.tests --verbose || : +cd src/gevent/tests && GEVENT_FILE=thread %{python3} -mgevent.tests test__*subprocess*.py -%files -n python3-%{modname} -%license LICENSE +%files -n python3-%{modname} -f %{pyproject_files} %doc README.rst -%{python3_sitearch}/%{modname}* %changelog -* Fri Aug 15 2025 Python Maint - 24.11.1-5 -- Rebuilt for Python 3.14.0rc2 bytecode - -* Fri Jul 25 2025 Fedora Release Engineering - 24.11.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Wed Jun 04 2025 Python Maint - 24.11.1-3 -- Rebuilt for Python 3.14 - -* Sat Jan 18 2025 Fedora Release Engineering - 24.11.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Mon Nov 11 2024 Orion Poplawski - 24.11.1-1 -- Update to 24.11.1 - -* Fri Oct 11 2024 Orion Poplawski - 24.10.2-1 -- Update to 24.10.2 - -* Thu Oct 10 2024 Orion Poplawski - 24.10.1-1 -- Update to 24.10.1 - -* Tue Sep 24 2024 Orion Poplawski - 24.2.1-3 -- Add patch to fix build with Cython 3.0.10 (FTBFS rhbz#2275488) - -* Fri Jul 19 2024 Fedora Release Engineering - 24.2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Fri Jun 14 2024 Orion Poplawski - 24.2.1-1 -- Update to 24.2.1 - -* Fri Jun 07 2024 Python Maint - 23.9.1-2 -- Rebuilt for Python 3.13 - -* Sat Feb 17 2024 Orion Poplawski - 23.9.1-1 -- Update to 23.9.1 CVE-2023-41419 (bz#2242244) - -* Fri Jan 26 2024 Fedora Release Engineering - 23.7.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Mon Jan 22 2024 Fedora Release Engineering - 23.7.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Fri Jul 21 2023 Fedora Release Engineering - 23.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Mon Jul 17 2023 Orion Poplawski - 23.7.0-1 -- Update to 23.7.0 - -* Tue Jun 27 2023 Orion Poplawski - 22.10.2-3 -- Add patch to remove match_hostname import - -* Thu Jun 15 2023 Python Maint - 22.10.2-2 -- Rebuilt for Python 3.12 - -* Thu Jun 15 2023 Petr Viktorin - 22.10.2-1 -- Update to 22.10.2 - -* Fri Jan 20 2023 Fedora Release Engineering - 21.12.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Fri Jul 22 2022 Fedora Release Engineering - 21.12.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Tue Jun 14 2022 Python Maint - 21.12.0-3 -- Rebuilt for Python 3.11 - -* Wed Jun 01 2022 Miro Hrončok - 21.12.0-2 -- Support Python 3.11 - -* Sun Mar 06 2022 Orion Poplawski - 21.12.0-1 -- Update to 21.12.0 - -* Fri Jan 21 2022 Fedora Release Engineering - 21.1.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 21.1.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Fri Jun 04 2021 Python Maint - 21.1.2-2 -- Rebuilt for Python 3.10 - -* Mon Apr 26 2021 Dan Callaghan - 21.1.2-1 -- new upstream bug fix release 21.1.2 - -* Wed Jan 27 2021 Fedora Release Engineering - 20.9.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Mon Nov 16 2020 Fabien Boucher - 20.9.0-1 -- new upstream release 20.9.0 - -* Mon Oct 05 2020 Orion Poplawski - 20.6.1-3 -- BR python3-setuptools - -* Wed Jul 29 2020 Fedora Release Engineering - 20.6.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat Jun 13 2020 Dan Callaghan - 20.6.1-1 -- new upstream release 20.6.1 - -* Sat Jun 06 2020 Orion Poplawski - 20.6.0-1 -- Update to 20.6.0 (bz#1840109) -- Resolve Python 3.9 issue (bz#1838696) -- Only remove Cython generated .c files -- Add BR on libuv-devel -- Use updated build variables -- Run tests, but do not fail on them for now - -* Sun May 24 2020 Miro Hrončok - 20.5.0-2 -- Rebuilt for Python 3.9 - -* Sun May 17 2020 Dan Callaghan - 20.5.0-1 -- new upstream release 20.5.0: - https://github.com/gevent/gevent/blob/20.5.0/CHANGES.rst - -* Thu Jan 30 2020 Fedora Release Engineering - 1.5-0.2.a3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jan 08 2020 Robert-André Mauchin - 1.5-0.1.a3 -- Update to 1.5a3 (#1705661) - -* Thu Oct 03 2019 Miro Hrončok - 1.3.6-7 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Sat Aug 17 2019 Miro Hrončok - 1.3.6-6 -- Rebuilt for Python 3.8 - -* Mon Aug 12 2019 Miro Hrončok - 1.3.6-5 -- Subpackage python2-gevent has been removed - See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal - -* Fri Jul 26 2019 Fedora Release Engineering - 1.3.6-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Tue Jun 11 2019 Victor Stinner - 1.3.6-3 -- Add Python 3.8 support, backport upstream change to use CodeType.replace() if - available (rhbz#1716342) - -* Sat Feb 02 2019 Fedora Release Engineering - 1.3.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Mon Sep 17 2018 Dan Callaghan - 1.3.6-1 -- Upstream bug fix release 1.3.6: http://www.gevent.org/changelog.html - -* Sat Jul 14 2018 Fedora Release Engineering - 1.3.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Mon Jul 02 2018 Miro Hrončok - 1.3.4-2 -- Rebuilt for Python 3.7 - -* Tue Jun 26 2018 Dan Callaghan - 1.3.4-1 -- Update to 1.3.4 (RHBZ#1593266) - -* Mon Jun 18 2018 Miro Hrončok - 1.3.3-2 -- Rebuilt for Python 3.7 - -* Wed Jun 13 2018 Dan Callaghan - 1.3.3-1 -- Update to 1.3.3 (RHBZ#1589102) - -* Mon Jun 04 2018 Dan Callaghan - 1.3.2-1 -- Update to 1.3.2 (RHBZ#1583647) - -* Tue May 29 2018 Dan Callaghan - 1.3.1-1 -- Update to 1.3.1 (RHBZ#1552352) - http://www.gevent.org/whatsnew_1_3.html - -* Fri Feb 09 2018 Fedora Release Engineering - 1.2.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 09 2017 Dan Callaghan - 1.2.2-1 -- Update to 1.2.2 (RHBZ#1389634) - -* Thu Aug 03 2017 Fedora Release Engineering - 1.1.2-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 1.1.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 1.1.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Mon Dec 19 2016 Miro Hrončok - 1.1.2-2 -- Rebuild for Python 3.6 - -* Sun Jul 24 2016 Igor Gnatenko - 1.1.2-1 -- Update to 1.1.2 (RHBZ #1359455) - -* Tue Jul 19 2016 Fedora Release Engineering - 1.1.1-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Tue Apr 05 2016 Igor Gnatenko - 1.1.1-1 -- Update to 1.1.1 (RHBZ #1323855) - -* Tue Mar 15 2016 Dan Callaghan - 1.1.0-1 -- Update to 1.1.0 final release - -* Wed Feb 17 2016 Igor Gnatenko - 1.1-0.8.rc4 -- Update to 1.1rc4 (RHBZ #1309141) - -* Thu Feb 04 2016 Fedora Release Engineering - 1.1-0.7.rc3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 20 2016 Dan Callaghan - 1.1-0.6.rc3 -- Update to 1.1rc3 - -* Tue Nov 10 2015 Fedora Release Engineering - 1.1-0.5.b6 -- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 - -* Sat Oct 24 2015 Igor Gnatenko - 1.1-0.4.b6 -- Fix description in spec - -* Sun Oct 18 2015 Igor Gnatenko - 1.1-0.3.b6 -- Update to 1.1b6 (RHBZ #1272717) - -* Tue Oct 06 2015 Orion Poplawski - 1.1-0.2.b5 -- Drop use of unneeded %%{py3dir} - -* Mon Oct 05 2015 Igor Gnatenko - 1.1-0.1.b5 -- Update to 1.1b5 (RHBZ #1244452) -- Add python3 support -- Follow modern RPM packaging guidelines - -* Fri Jun 26 2015 Dan Callaghan - 1.0.2-2 -- removed version requirement for greenlet - -* Mon Jun 22 2015 Dan Callaghan - 1.0.2-1 -- bug fix release 1.0.2: - https://github.com/gevent/gevent/blob/v1.0.2/changelog.rst#release-102-may-23-2015 - -* Thu Jun 18 2015 Fedora Release Engineering - 1.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sun Aug 17 2014 Fedora Release Engineering - 1.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Aug 15 2014 Orion Poplawski - 1.0.1-1 -- Update to 1.0.1 - -* Sat Jun 07 2014 Fedora Release Engineering - 1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed Jan 22 2014 Orion Poplawski - 1.0-1 -- Update to 1.0 - -* Sun Aug 04 2013 Fedora Release Engineering - 0.13.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Thu Feb 14 2013 Fedora Release Engineering - 0.13.8-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Dec 27 2012 Silas Sewell - 0.13.8-1 -- Update to 0.13.8 - -* Sat Jul 21 2012 Fedora Release Engineering - 0.13.6-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 0.13.6-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Sun Jul 24 2011 Silas Sewell - 0.13.6-1 -- Update to 0.13.6 - -* Wed Feb 16 2011 Silas Sewell - 0.13.3-1 -- Update to 0.13.3 - -* Tue Feb 08 2011 Fedora Release Engineering - 0.13.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Oct 09 2010 Silas Sewell - 0.13.1-1 -- Update to 0.13.1 - -* Tue Jul 27 2010 David Malcolm - 0.13.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Wed Jul 14 2010 Silas Sewell - 0.13.0-1 -- Update to 0.13.0 - -* Fri Apr 23 2010 Silas Sewell - 0.12.2-2 -- Remove setuptools requirement - -* Wed Mar 17 2010 Silas Sewell - 0.12.2-1 -- Initial build +%autochangelog From cdda167e27825e7c9e5e2bab9f2805880bc27415 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 13:22:51 +0200 Subject: [PATCH 15/21] Rebuilt for Python 3.14.0rc3 bytecode From 29687cb716532de83c4d058d6d41acacc4a30aa6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 07:37:50 +0000 Subject: [PATCH 16/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 8bacc1b4ca7a89b49f21eb57a3f0b7cf875d0219 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Sat, 24 Jan 2026 12:45:06 +0100 Subject: [PATCH 17/21] Release 25.9.1 --- .gitignore | 1 + python-gevent.spec | 4 ++-- sources | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index d85fd18..9593234 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ gevent-0.13.0.tar.gz /gevent-24.10.1.tar.gz /gevent-24.10.2.tar.gz /gevent-24.11.1.tar.gz +/gevent-25.9.1.tar.gz diff --git a/python-gevent.spec b/python-gevent.spec index 3a74b08..8ee2779 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,7 +3,7 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 24.11.1 +Version: 25.9.1 Release: %autorelease Summary: A coroutine-based Python networking library @@ -32,7 +32,7 @@ Features include: %package -n python3-%{modname} Summary: %{summary} BuildRequires: python3-devel -BuildRequires: python3-greenlet-devel >= 2.0.0 +BuildRequires: python3-greenlet-devel >= 3.2.2 BuildRequires: python3-zope-event %description -n python3-%{modname} diff --git a/sources b/sources index 35091ad..0df3544 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-24.11.1.tar.gz) = 7507bd754e6c862cd5e7821ded8dd05422d09cc26d0b7e6d889cb91f27661fff09a1949bf6d21c35aee63fa9f520b840f236adb6b4c19aa7da46971eb51a1b22 +SHA512 (gevent-25.9.1.tar.gz) = 8c7f6030020fd6d762ebb1afccb7fb8306e2cf1a45dabf8a471709264acc35003ea2be44f4e0733a75c703256776b4f22a96be50e926c9dc053f453f0b1f3522 From b46368e094351ad50999a7aa413cacaada39d1e4 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Thu, 4 Jun 2026 00:31:42 +0200 Subject: [PATCH 18/21] Rebuilt for Python 3.15 From ca4069738b053a875c6869e1753e22e7472a1df9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 19:34:26 +0000 Subject: [PATCH 19/21] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 9776b812b1581a88c84a6d7c6b5da107ec0d54cd Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 16:31:02 +0200 Subject: [PATCH 20/21] Rebuilt for Python 3.15.0b4 ABI change From fdec20e3eca6d9df2bad63c1b78f9bda0eeadec3 Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Sun, 26 Jul 2026 18:56:54 +0200 Subject: [PATCH 21/21] Release 26.7.0 --- .gitignore | 1 + python-gevent.spec | 7 +------ sources | 2 +- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 9593234..df8d51a 100644 --- a/.gitignore +++ b/.gitignore @@ -34,3 +34,4 @@ gevent-0.13.0.tar.gz /gevent-24.10.2.tar.gz /gevent-24.11.1.tar.gz /gevent-25.9.1.tar.gz +/gevent-26.7.0.tar.gz diff --git a/python-gevent.spec b/python-gevent.spec index 8ee2779..f6252ac 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -3,10 +3,9 @@ %global optflags %(echo %{optflags} -I%{_includedir}/libev) Name: python-%{modname} -Version: 25.9.1 +Version: 26.7.0 Release: %autorelease Summary: A coroutine-based Python networking library - License: MIT URL: http://www.gevent.org/ Source0: %{pypi_source %{modname} %{version} tar.gz} @@ -15,11 +14,9 @@ BuildRequires: gcc BuildRequires: c-ares-devel BuildRequires: libev-devel BuildRequires: libuv-devel - %description gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop. - Features include: * convenient API around greenlets @@ -34,11 +31,9 @@ Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3-greenlet-devel >= 3.2.2 BuildRequires: python3-zope-event - %description -n python3-%{modname} gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop. - Features include: * convenient API around greenlets diff --git a/sources b/sources index 0df3544..8506c38 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gevent-25.9.1.tar.gz) = 8c7f6030020fd6d762ebb1afccb7fb8306e2cf1a45dabf8a471709264acc35003ea2be44f4e0733a75c703256776b4f22a96be50e926c9dc053f453f0b1f3522 +SHA512 (gevent-26.7.0.tar.gz) = 70e7a21874c77990884e46a5e849ee4e065c4b918544bf8a11f665412d101a94c81bae713c7202ebbe81fd5439e57248b23f098aec7b16b6f05d99ce1a6ec4a8