Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-flake8-builtins for 
openSUSE:Factory checked in at 2023-12-28 23:01:25
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8-builtins (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8-builtins.new.28375 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8-builtins"

Thu Dec 28 23:01:25 2023 rev:7 rq:1135263 version:2.2.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-flake8-builtins/python-flake8-builtins.changes
    2023-01-03 15:05:18.906492262 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-flake8-builtins.new.28375/python-flake8-builtins.changes
 2023-12-28 23:03:02.893917752 +0100
@@ -1,0 +2,11 @@
+Wed Dec 27 10:19:04 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.2.0:
+  * Drop python 3.7 support.
+  * Test pre-release of python 3.12.
+  * Use `pyproject.toml` rather than `setup.py`.
+  * Switch from `setuptools` to `hatchling`.
+  * Add rule for import shadowing (`A004`).
+  * Switch to `main` branch.
+
+-------------------------------------------------------------------

Old:
----
  flake8-builtins-2.1.0.tar.gz

New:
----
  flake8_builtins-2.2.0.tar.gz

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

Other differences:
------------------
++++++ python-flake8-builtins.spec ++++++
--- /var/tmp/diff_new_pack.Ru59GJ/_old  2023-12-28 23:03:03.421937049 +0100
+++ /var/tmp/diff_new_pack.Ru59GJ/_new  2023-12-28 23:03:03.421937049 +0100
@@ -16,17 +16,18 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:           python-flake8-builtins
-Version:        2.1.0
+Version:        2.2.0
 Release:        0
 Summary:        Flake8 Builtins plugin
 License:        GPL-2.0-only
 URL:            https://github.com/gforcada/flake8-builtins
-Source:         
https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8-builtins-%{version}.tar.gz
+Source:         
https://files.pythonhosted.org/packages/source/f/flake8-builtins/flake8_builtins-%{version}.tar.gz
 BuildRequires:  %{python_module base >= 3.7}
-BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module hatchling}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-flake8 >= 5.0.4
@@ -43,13 +44,13 @@
 This plugin checks for Python builtins being used as variables or parameters.
 
 %prep
-%setup -q -n flake8-builtins-%{version}
+%setup -q -n flake8_builtins-%{version}
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
@@ -59,5 +60,7 @@
 %files %{python_files}
 %license LICENSE
 %doc CHANGES.rst README.rst
-%{python_sitelib}/*
+%{python_sitelib}/flake8_builtins.py
+%pycache_only %{python_sitelib}/__pycache__/flake8_builtins*
+%{python_sitelib}/flake8_builtins-%{version}.dist-info
 

Reply via email to