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 2026-01-07 16:00:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-gevent (Old)
 and      /work/SRC/openSUSE:Factory/.python-gevent.new.1928 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-gevent"

Wed Jan  7 16:00:24 2026 rev:60 rq:1325347 version:25.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-gevent/python-gevent.changes      
2025-10-08 18:12:34.697519193 +0200
+++ /work/SRC/openSUSE:Factory/.python-gevent.new.1928/python-gevent.changes    
2026-01-07 16:00:26.312679412 +0100
@@ -1,0 +2,10 @@
+Sun Jan  4 14:51:01 UTC 2026 - Ben Greiner <[email protected]>
+
+- Rework requirements:
+  * Add missing setuptools for building
+  * Remove obsolete requirements
+  * Don't hard require optional requirements. See comments in
+    setup.py
+- testrunner.py is no longer directly executable by default
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-gevent.spec ++++++
--- /var/tmp/diff_new_pack.KI4a6e/_old  2026-01-07 16:00:27.856743734 +0100
+++ /var/tmp/diff_new_pack.KI4a6e/_new  2026-01-07 16:00:27.856743734 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-gevent
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,42 +36,48 @@
 Source100:      %{name}-rpmlintrc
 # PATCH-FEATURE-OPENSUSE gevent-opensuse-nocolor-tests.patch 
[email protected] -- Avoid colorization of test output in obs runners
 Patch2:         gevent-opensuse-nocolor-tests.patch
-BuildRequires:  %{python_module Cython >= 3.0.2}
-BuildRequires:  %{python_module backports.entry_points_selectable}
+BuildRequires:  %{python_module Cython >= 3.0.11}
 BuildRequires:  %{python_module cffi}
 BuildRequires:  %{python_module devel >= 3.8}
-BuildRequires:  %{python_module dnspython}
 BuildRequires:  %{python_module greenlet >= 3.2.2}
-BuildRequires:  %{python_module objgraph}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module psutil}
-BuildRequires:  %{python_module requests}
-BuildRequires:  %{python_module testsuite}
+BuildRequires:  %{python_module setuptools >= 40.8}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  %{python_module zope.event}
 BuildRequires:  %{python_module zope.interface}
 BuildRequires:  fdupes
-# /etc/protocols needed for tests
-BuildRequires:  netcfg
 BuildRequires:  pkgconfig
 BuildRequires:  python-rpm-macros
 BuildRequires:  pkgconfig(libcares)
 BuildRequires:  pkgconfig(libuv)
-Requires:       python-backports.entry_points_selectable
-Requires:       python-cffi
-Requires:       python-dnspython
 Requires:       python-greenlet >= 3.2.2
-Requires:       python-requests
 Requires:       python-zope.event
 Requires:       python-zope.interface
 %if ! 0%{use_bundled_libev}
 BuildRequires:  pkgconfig(libev)
 %endif
 %if 0%{?suse_version} || 0%{?fedora_version} ||  0%{?rhel} >= 8
+Recommends:     python-cffi
+Recommends:     python-dnspython
 Recommends:     python-psutil
 %else
+Requires:       python-cffi
+Requires:       python-dnspython
 Requires:       python-psutil
 %endif
+# SECTION test requirements
+# these are optional but not strict runtime requirements
+BuildRequires:  %{python_module dnspython}
+BuildRequires:  %{python_module psutil}
+# (cffi is already a build requirement)
+# these are extra test requirements or recommendations
+BuildRequires:  %{python_module requests}
+BuildRequires:  %{python_module objgraph}
+BuildRequires:  %{python_module testsuite}
+# (we don't need to check coverage)
+# /etc/protocols needed for tests
+BuildRequires:  netcfg
+# /SECTION
 %python_subpackages
 
 %description
@@ -117,10 +123,6 @@
 export LIBEV_EMBED=%{use_bundled_libev}
 export CARES_EMBED=0
 %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
-}
 %{?python_compileall}
 %python_expand %fdupes %{buildroot}%{$python_sitearch}
 

Reply via email to