Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gevent for openSUSE:Factory checked in at 2024-04-23 18:55:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gevent (Old) and /work/SRC/openSUSE:Factory/.python-gevent.new.27645 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gevent" Tue Apr 23 18:55:07 2024 rev:50 rq:1169643 version:24.2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gevent/python-gevent.changes 2024-01-12 23:45:02.845764825 +0100 +++ /work/SRC/openSUSE:Factory/.python-gevent.new.27645/python-gevent.changes 2024-04-23 18:55:20.816893532 +0200 @@ -1,0 +2,28 @@ +Mon Apr 22 07:38:07 UTC 2024 - Daniel Garcia <daniel.gar...@suse.com> + +- Add gh-113964-fix-tests-3.12.3.patch to tix tests with python 3.12.3 + (bsc#1223128) + +- Drop upstream patches: + * gevent-fix-unittest-returncode-py312-c1.patch + * gevent-fix-unittest-returncode-py312-c2.patch + +- Update to version 24.2.1: + - Add support for Python patch releases 3.11.8 and 3.12.2, which + changed internal details of threading. + - Errors raised from subprocess.Popen may not have a filename set. + - SSLSocket.recv_into and SSLSocket.read no longer require the + buffer to implement len and now work with buffers whose size is + not 1. + - gh-108310: Fix CVE-2023-40217: Check for & avoid the ssl pre-close + flaw. + - Drop setuptools to a soft test dependency. + - Drop support for very old versions of CFFI. + - Update bundled c-ares from 1.19.1 to 1.26.0. + - Locks created by gevent, but acquired from multiple different + threads (not recommended), no longer spin to implement timeouts + and interruptible blocking. Instead, they use the native + functionality of the Python 3 lock. This may improve some + scenarios. See issue #2013. + +------------------------------------------------------------------- Old: ---- gevent-23.9.1.tar.gz gevent-fix-unittest-returncode-py312-c1.patch gevent-fix-unittest-returncode-py312-c2.patch New: ---- gevent-24.2.1.tar.gz gh-113964-fix-tests-3.12.3.patch BETA DEBUG BEGIN: Old:- Drop upstream patches: * gevent-fix-unittest-returncode-py312-c1.patch * gevent-fix-unittest-returncode-py312-c2.patch Old: * gevent-fix-unittest-returncode-py312-c1.patch * gevent-fix-unittest-returncode-py312-c2.patch BETA DEBUG END: BETA DEBUG BEGIN: New: - Add gh-113964-fix-tests-3.12.3.patch to tix tests with python 3.12.3 (bsc#1223128) BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gevent.spec ++++++ --- /var/tmp/diff_new_pack.haj3g7/_old 2024-04-23 18:55:21.484917591 +0200 +++ /var/tmp/diff_new_pack.haj3g7/_new 2024-04-23 18:55:21.484917591 +0200 @@ -26,7 +26,7 @@ %bcond_with colortest %{?sle15_python_module_pythons} Name: python-gevent -Version: 23.9.1 +Version: 24.2.1 Release: 0 Summary: Python network library that uses greenlet and libevent License: MIT @@ -34,11 +34,12 @@ URL: https://www.gevent.org/ Source0: https://github.com/gevent/gevent/archive/%{version}.tar.gz#/gevent-%{version}.tar.gz Source100: %{name}-rpmlintrc -# PATCH-FIX-UPSTREAM gevent-fix-unittest-returncode-py312.patch gh#gevent/gevent#2012 -Patch0: https://github.com/gevent/gevent/commit/86ea07e273ed7938446688cef5492d48034b7ddb.patch#/gevent-fix-unittest-returncode-py312-c1.patch -Patch1: https://github.com/gevent/gevent/commit/f69bc6b872b81a3dbc704c83147822fd7009995d.patch#/gevent-fix-unittest-returncode-py312-c2.patch # PATCH-FEATURE-OPENSUSE gevent-opensuse-nocolor-tests.patch c...@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 BuildRequires: %{python_module Cython >= 3.0.2} BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel >= 3.8} ++++++ gevent-23.9.1.tar.gz -> gevent-24.2.1.tar.gz ++++++ ++++ 148885 lines of diff (skipped) ++++++ gevent-opensuse-nocolor-tests.patch ++++++ --- /var/tmp/diff_new_pack.haj3g7/_old 2024-04-23 18:55:22.108940065 +0200 +++ /var/tmp/diff_new_pack.haj3g7/_new 2024-04-23 18:55:22.112940209 +0200 @@ -1,9 +1,9 @@ Avoid colorization of test output in obs runners -Index: gevent-23.9.1/src/gevent/testing/util.py +Index: gevent-24.2.1/src/gevent/testing/util.py =================================================================== ---- gevent-23.9.1.orig/src/gevent/testing/util.py -+++ gevent-23.9.1/src/gevent/testing/util.py +--- gevent-24.2.1.orig/src/gevent/testing/util.py ++++ gevent-24.2.1/src/gevent/testing/util.py @@ -98,6 +98,8 @@ def _color(what): return _color_code(_colorscheme[what]) ++++++ gh-113964-fix-tests-3.12.3.patch ++++++ 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):