Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-injector for openSUSE:Factory 
checked in at 2025-02-07 23:07:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-injector (Old)
 and      /work/SRC/openSUSE:Factory/.python-injector.new.2316 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-injector"

Fri Feb  7 23:07:36 2025 rev:11 rq:1244148 version:0.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-injector/python-injector.changes  
2023-12-08 22:32:13.136365269 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-injector.new.2316/python-injector.changes    
    2025-02-07 23:11:53.686553667 +0100
@@ -1,0 +2,12 @@
+Fri Feb  7 12:10:02 UTC 2025 - John Paul Adrian Glaubitz 
<adrian.glaub...@suse.com>
+
+- Switch package to modern Python Stack on SLE-15
+  * Use Python 3.11 on SLE-15 by default
+  * Drop support for older Python versions
+- Switch build system from setuptools to pyproject.toml
+  * Add python-pip and python-wheel to BuildRequires
+  * Replace %python_build with %pyproject_wheel
+  * Replace %python_install with %pyproject_install
+  * Update name for dist directory in %files section
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-injector.spec ++++++
--- /var/tmp/diff_new_pack.SVuH3s/_old  2025-02-07 23:11:54.114571282 +0100
+++ /var/tmp/diff_new_pack.SVuH3s/_new  2025-02-07 23:11:54.114571282 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-injector
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,7 @@
 #
 
 
-%define skip_python2 1
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?sle15_python_module_pythons}
 Name:           python-injector
 Version:        0.21.0
 Release:        0
@@ -25,8 +24,10 @@
 License:        BSD-3-Clause
 URL:            https://github.com/alecthomas/injector
 Source:         
https://github.com/alecthomas/injector/archive/%{version}.tar.gz
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module typing_extensions >= 3.7.4 if %python-base < 
3.9}
+BuildRequires:  %{python_module wheel}
 # SECTION test requirements
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module dataclasses if %python-base < 3.7}
@@ -61,10 +62,10 @@
 rm pytest.ini
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -74,5 +75,5 @@
 %license COPYING
 %doc README.md
 %{python_sitelib}/injector
-%{python_sitelib}/injector-%{version}*-info
+%{python_sitelib}/injector-%{version}.dist-info
 

Reply via email to