diff --git a/gevent-24.10.1.tar.gz b/gevent-24.10.1.tar.gz new file mode 100644 index 0000000..c6e95c9 --- /dev/null +++ b/gevent-24.10.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08e53a2cb83fe038f37c0aab18a9561632745ab6a6d1b1a231cb89cbceb49fc8 +size 4262861 diff --git a/gevent-24.2.1.tar.gz b/gevent-24.2.1.tar.gz deleted file mode 100644 index 915204f..0000000 --- a/gevent-24.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:33d71611b05a9198c24ff2209b77cb0988a8031c5fa419e7d699c81094ca4e74 -size 4322696 diff --git a/gh-113964-fix-tests-3.12.3.patch b/gh-113964-fix-tests-3.12.3.patch deleted file mode 100644 index 1e0981c..0000000 --- a/gh-113964-fix-tests-3.12.3.patch +++ /dev/null @@ -1,30 +0,0 @@ -Index: gevent-24.2.1/src/greentest/3.12/test_subprocess.py -=================================================================== ---- gevent-24.2.1.orig/src/greentest/3.12/test_subprocess.py -+++ gevent-24.2.1/src/greentest/3.12/test_subprocess.py -@@ -3404,8 +3404,9 @@ class POSIXProcessTestCase(BaseTestCase) - atexit.register(exit_handler) - """ - _, out, err = assert_python_ok("-c", code) -- self.assertEqual(out, b'') -- self.assertIn(b"preexec_fn not supported at interpreter shutdown", err) -+ # https://github.com/python/cpython/issues/113964 -+ # self.assertEqual(out, b'') -+ # self.assertIn(b"preexec_fn not supported at interpreter shutdown", err) - - - @unittest.skipUnless(mswindows, "Windows specific tests") -Index: gevent-24.2.1/src/greentest/3.12/test_threading.py -=================================================================== ---- gevent-24.2.1.orig/src/greentest/3.12/test_threading.py -+++ gevent-24.2.1/src/greentest/3.12/test_threading.py -@@ -1137,7 +1137,8 @@ class ThreadTests(BaseTestCase): - """ - _, out, err = assert_python_ok("-c", code) - self.assertEqual(out, b'') -- self.assertIn(b"can't create new thread at interpreter shutdown", err) -+ # https://github.com/python/cpython/issues/113964 -+ # self.assertIn(b"can't create new thread at interpreter shutdown", err) - - class ThreadJoinOnShutdown(BaseTestCase): - diff --git a/python-gevent.changes b/python-gevent.changes index 534402b..5eff7b8 100644 --- a/python-gevent.changes +++ b/python-gevent.changes @@ -1,3 +1,29 @@ +------------------------------------------------------------------- +Thu Oct 10 09:39:52 UTC 2024 - John Paul Adrian Glaubitz + +- Update to 24.10.1 + * Update the bundled c-ares to 1.33.1. + * Add support for Python 3.13. + - The functions and classes in ``gevent.subprocess`` no longer accept + ``stdout=STDOUT`` and raise a ``ValueError``. + Several additions and changes to the ``queue`` module, including: + - ``Queue.shutdown`` is available on all versions of Python. + - ``LifoQueue`` is now a joinable queue. + * gevent.monkey changed from a module to a package. The public API + remains the same. + For this release, private APIs (undocumented, marked internal, or + beginning with an underscore) are also preserved. However, these may + be changed or removed at any time in the future. If you are using one + of these APIs and cannot replace it, please contact the gevent team. + * For platforms that don't have ``socketpair``, upgrade our fallback + code to avoid a security issue. + See :issue:`2048`. + * Remove support for Python 3.8, which has reached the end of its + support lifecycle. + See :issue:`remove_py38`. +- Drop gh-113964-fix-tests-3.12.3.patch, fixed upstream +- Renumber patches + ------------------------------------------------------------------- Tue May 28 10:56:43 UTC 2024 - John Paul Adrian Glaubitz diff --git a/python-gevent.spec b/python-gevent.spec index f2e0ff1..c7732ae 100644 --- a/python-gevent.spec +++ b/python-gevent.spec @@ -26,7 +26,7 @@ %bcond_with colortest %{?sle15_python_module_pythons} Name: python-gevent -Version: 24.2.1 +Version: 24.10.1 Release: 0 Summary: Python network library that uses greenlet and libevent License: MIT @@ -36,14 +36,10 @@ Source0: https://github.com/gevent/gevent/archive/%{version}.tar.gz#/geve Source100: %{name}-rpmlintrc # PATCH-FEATURE-OPENSUSE gevent-opensuse-nocolor-tests.patch code@bnavigator.de -- Avoid colorization of test output in obs runners Patch2: gevent-opensuse-nocolor-tests.patch -# PATCH-FIX-OPENSUSE gh-113964-fix-tests-3.12.3.patch -# Fix some tests that fails with python 3.12.3 in the current version, -# related to gh#python/cpython#113964 -Patch3: gh-113964-fix-tests-3.12.3.patch # PATCH-FIX-OPENSUSE gh-2031-cython-workaround.patch # Fix FTBFS with GCC 14 and Cython 3.0.10 # https://github.com/gevent/gevent/issues/2031 -Patch4: gh-2031-cython-workaround.patch +Patch3: gh-2031-cython-workaround.patch BuildRequires: %{python_module Cython >= 3.0.2} BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel >= 3.8}