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 2023-08-15 16:39:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gevent (Old)
 and      /work/SRC/openSUSE:Factory/.python-gevent.new.11712 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gevent"

Tue Aug 15 16:39:14 2023 rev:44 rq:1103820 version:23.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gevent/python-gevent.changes      
2023-06-11 19:52:40.426216647 +0200
+++ /work/SRC/openSUSE:Factory/.python-gevent.new.11712/python-gevent.changes   
2023-08-15 16:39:19.982711585 +0200
@@ -1,0 +2,28 @@
+Mon Aug 14 09:20:19 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 23.7.0:
+  * Add preliminary support for Python 3.12, using greenlet
+    3.0a1. 
+  * Update the bundled c-ares version to 1.19.1.
+  * Fix an edge case connecting a non-blocking ``SSLSocket`` that
+    could result in an AttributeError. In a change to match
+    the standard library, calling ``sock.connect_ex()`` on a
+    subclass of ``socket`` no longer calls the subclass's
+    ``connect`` method.
+  * Make gevent's ``FileObjectThread`` (mostly used on Windows)
+    implement ``readinto`` cooperatively.
+  * Work around an ``AttributeError`` during cyclic garbage
+    collection when Python finalizers (``__del__`` and the like)
+    attempt to use gevent APIs. This is not a recommended practice,
+    and it is unclear if catching this ``AttributeError`` will fix
+    any problems or just shift them.
+  * Remove support for obsolete Python versions. This is
+    everything prior to 3.8.
+  * Stop using ``pkg_resources`` to find entry points (plugins).
+    Instead, use ``importlib.metadata``.
+  * Honor ``sys.unraisablehook`` when a callback function
+    produces an exception, and handling the exception in the hub
+    *also* produces an exception.
+- drop skip-tests-in-leap.patch handle-python-ssl-changes.patch (obsolete)
+
+-------------------------------------------------------------------

Old:
----
  gevent-22.10.2.tar.gz
  handle-python-ssl-changes.patch
  skip-tests-in-leap.patch

New:
----
  gevent-23.7.0.tar.gz

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

Other differences:
------------------
++++++ python-gevent.spec ++++++
--- /var/tmp/diff_new_pack.Sw1EcR/_old  2023-08-15 16:39:20.666716249 +0200
+++ /var/tmp/diff_new_pack.Sw1EcR/_new  2023-08-15 16:39:20.670716277 +0200
@@ -25,30 +25,28 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-gevent
-Version:        22.10.2
+Version:        23.7.0
 Release:        0
 Summary:        Python network library that uses greenlet and libevent
 License:        MIT
 Group:          Development/Languages/Python
 URL:            https://www.gevent.org/
-# Source:         
https://files.pythonhosted.org/packages/source/g/gevent/gevent-%%{version}.tar.gz
 Source0:        
https://github.com/gevent/%{modname}/archive/%{version}.tar.gz#/%{modname}-%{version}.tar.gz
 Source100:      %{name}-rpmlintrc
 # gcc7 for 15.1 produces no-return-in-nonvoid-function, but the same compiler 
for 15.2 not
 # usually, as long as no return value is used, this shouldn't be treated as an 
error
 # let's selectively disable the warning around the offending code
 Patch0:         fix-no-return-in-nonvoid-function.patch
-Patch1:         skip-tests-in-leap.patch
-Patch2:         handle-python-ssl-changes.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module cffi}
-BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module devel >= 3.8}
 BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module greenlet >= 2.0.0}
 BuildRequires:  %{python_module objgraph}
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module psutil}
 BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  %{python_module zope.event}
 BuildRequires:  %{python_module zope.interface}
 BuildRequires:  fdupes
@@ -62,6 +60,7 @@
 Requires:       python-cffi
 Requires:       python-dnspython
 Requires:       python-greenlet >= 2.0.0
+Requires:       python-importlib-metadata
 Requires:       python-requests
 Requires:       python-zope.event
 Requires:       python-zope.interface
@@ -108,11 +107,6 @@
 %if 0%{?sle_version} <= 150100 && 0%{?is_opensuse}
 %patch0 -p1
 %endif
-
-%if 0%{?sle_version} <= 150300
-%patch1 -p1
-%endif
-%patch2 -p1
 sed -i -e '1s!bin/env python!bin/python!' examples/*.py
 sed -i -e '1{/bin.*python/d}' src/gevent/tests/*.py
 
@@ -120,12 +114,12 @@
 export LIBEV_EMBED=%{use_bundled_libev}
 export CARES_EMBED=0
 export CFLAGS="%{optflags} -fno-strict-aliasing"
-%python_build
+%pyproject_wheel
 
 %install
 export LIBEV_EMBED=%{use_bundled_libev}
 export CARES_EMBED=0
-%python_install
+%pyproject_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

++++++ gevent-22.10.2.tar.gz -> gevent-23.7.0.tar.gz ++++++
++++ 179142 lines of diff (skipped)

Reply via email to