Accepting request 1206713 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1206713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-gevent?expand=0&rev=52
This commit is contained in:
Ana Guerrero 2024-10-11 15:01:03 +00:00 committed by Git OBS Bridge
commit bddde4f858
5 changed files with 31 additions and 39 deletions

3
gevent-24.10.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08e53a2cb83fe038f37c0aab18a9561632745ab6a6d1b1a231cb89cbceb49fc8
size 4262861

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33d71611b05a9198c24ff2209b77cb0988a8031c5fa419e7d699c81094ca4e74
size 4322696

View File

@ -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):

View File

@ -1,3 +1,29 @@
-------------------------------------------------------------------
Thu Oct 10 09:39:52 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <adrian.glaubitz@suse.com>

View File

@ -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}