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 2021-12-16 21:18:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gevent (Old)
 and      /work/SRC/openSUSE:Factory/.python-gevent.new.2520 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gevent"

Thu Dec 16 21:18:54 2021 rev:37 rq:940551 version:21.12.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gevent/python-gevent.changes      
2021-11-21 23:52:10.390254661 +0100
+++ /work/SRC/openSUSE:Factory/.python-gevent.new.2520/python-gevent.changes    
2021-12-16 21:19:25.378523767 +0100
@@ -1,0 +2,19 @@
+Mon Dec 13 20:30:19 UTC 2021 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 21.12.0
+  * Fix hanging the interpreter on shutdown if gevent monkey
+    patching occurred on a non-main thread in Python 3.9.8 and
+    above. (Note that this is not a recommended practice.) See
+    :issue:`1839`.
+  * Update the embedded c-ares from 1.16.1 to 1.17.1. See
+    :issue:`1758`.
+  * Add support for Python 3.10rc1 and newer. As part of this, the
+    minimum required greenlet version was increased to 1.1.0 (on
+    CPython), and the minimum version of Cython needed to build
+    gevent from a source checkout is 3.0a9. Note that the dnspython
+    resolver is not available on Python 3.10. See :issue:`1790`.
+- Meanwhile Cython 0.29.24 and dnspython are compatible
+  with python310
+- Revert threading test skip, fixed in 21.12
+
+-------------------------------------------------------------------

Old:
----
  gevent-21.1.2.tar.gz

New:
----
  gevent-21.12.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-gevent.spec ++++++
--- /var/tmp/diff_new_pack.Xy2d0T/_old  2021-12-16 21:19:27.598524611 +0100
+++ /var/tmp/diff_new_pack.Xy2d0T/_new  2021-12-16 21:19:27.602524613 +0100
@@ -24,10 +24,10 @@
 %endif
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define modversion 21.1.2
+%define modversion 21.12.0
 %define modname gevent
 Name:           python-gevent
-Version:        21.1.2
+Version:        21.12.0
 Release:        0
 Summary:        Python network library that uses greenlet and libevent
 License:        MIT
@@ -45,7 +45,7 @@
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module dnspython}
-BuildRequires:  %{python_module greenlet >= 0.4.17}
+BuildRequires:  %{python_module greenlet >= 1.1.0}
 BuildRequires:  %{python_module objgraph}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module requests}
@@ -112,6 +112,7 @@
 %patch1 -p1
 %endif
 sed -i -e '1s!bin/env python!bin/python!' examples/*.py
+sed -i -e '1{/bin.*python/d}' src/gevent/tests/*.py
 
 %build
 export LIBEV_EMBED=%{use_bundled_libev}
@@ -123,22 +124,23 @@
 export LIBEV_EMBED=%{use_bundled_libev}
 export CARES_EMBED=0
 %python_install
+%{python_expand # fix script interpreter-line and exec bit
+sed -i '1{s|^#!.*bin.*python.*$|#!%{__$python}|}' 
%{buildroot}%{$python_sitearch}/gevent/testing/testrunner.py
+chmod +x %{buildroot}%{$python_sitearch}/gevent/testing/testrunner.py
+}
+%{?python_compileall}
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %check
-# create ignore list of tests that reach out to the net
-cat << EOF > network_tests.txt
+%{python_expand #
+# create ignore list of tests, e.g. because they reach out to the net
+cat << EOF > skip_tests.txt
 test__core_stat.py
 %if 0%{?sle_version} <= 150200 && 0%{?is_opensuse}
 test__destroy_default_loop.py
 test__example_echoserver.py
 test_socket.py
 %endif
-%if %{python3_version_nodots} < 37
-test__threading_2.py
-%endif
-# this fails badly with 3.9.9
-test__threading_monkey_in_thread.py
 test__examples.py
 # this one fails occasionally with: Address already in use: ('127.0.0.1', 
16000)
 test__example_portforwarder.py
@@ -146,6 +148,9 @@
 test__resolver_dnspython.py
 test__socket_dns.py
 EOF
+if [ %{$python_version_nodots} -lt 37 ]; then
+ echo "test__threading_2.py" >> skip_tests.txt
+fi
 export GEVENT_RESOLVER=thread
 # Setting the TRAVIS environment variable makes some different configuration
 # for tests that use the network so they don't fail on travis (or obs)
@@ -158,8 +163,8 @@
 export OPENSSL_SYSTEM_CIPHERS_OVERRIDE=xyz_nonexistent_file
 export OPENSSL_CONF=''
 # don't bother with python2 tests
-%{python_expand if [ "$python" != "python2" ]; then
-    PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m gevent.tests 
--ignore network_tests.txt
+if [ "${python_flavor}" != "python2" ]; then
+    PYTHONPATH=%{buildroot}%{$python_sitearch} $python -m gevent.tests 
--ignore skip_tests.txt
 fi
 }
 

++++++ gevent-21.1.2.tar.gz -> gevent-21.12.0.tar.gz ++++++
++++ 201873 lines of diff (skipped)

++++++ python-gevent-rpmlintrc ++++++
--- /var/tmp/diff_new_pack.Xy2d0T/_old  2021-12-16 21:19:28.242524857 +0100
+++ /var/tmp/diff_new_pack.Xy2d0T/_new  2021-12-16 21:19:28.242524857 +0100
@@ -1,2 +1,3 @@
-addFilter("devel-file-in-non-devel-package")
+addFilter("zero-length .*tests/nullcert\.pem")
+addFilter("pem-certificate .*tests/.*\.pem")
 

Reply via email to