Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pyroma for openSUSE:Factory 
checked in at 2024-03-25 21:11:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyroma (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyroma.new.1905 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyroma"

Mon Mar 25 21:11:53 2024 rev:6 rq:1161233 version:4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyroma/python-pyroma.changes      
2021-06-01 10:39:15.268996176 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyroma.new.1905/python-pyroma.changes    
2024-03-25 21:18:40.392499283 +0100
@@ -1,0 +2,40 @@
+Mon Mar 25 04:06:17 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 4.2:
+  * Fall back to installing project's build backend in an isolated
+    environment if a compatible version isn't installed in the current env
+  * Fix metadata extraction failure when project ``long_description`` is
+    included as a header rather than a payload in the ``METADTA`` file
+  * Add a fallback to restore compatibility with Setuptools <61
+  * Add ``python_requires``, update classifiers, add implicit dependencies
+    and remove unused deps in Pyroma's own packaging metadata
+  * Moved from a custom trove classifiers list to using the
+    trove-classifiers package
+  * Support checking the Requires-Python metadata
+  * Silence noisy build backend output when building metadata
+  * Official support for Python 3.11
+  * Some string formatting bugs
+  * Now follows black and flake8 rules
+  * Check if author_email field contains author name
+  * The deprecation test for test_suite is no longer needed, as the patched
+    setuptools method of gathering metadata as a whole is deprecated.
+  * `description_content_type` also needs a mapping in the metadata map.
+  * Added support for PEP517 by using `build` to build the metadata as a
+    preferred build method over the old patched setuptools method.
+  * Add a deprecation for `test_suite`
+  * Fixed __getattr__-related crash in tests with python3.7
+  * Added support for pre-commit
+  * Rewrote parts of the PyPI support, to avoid using the xmlrpc API,
+    since it's being heavily rate-limited at the moment. Only one call
+    is using it now, which seems to work fine.
+  * Backwards incompatible change: As a result of the above change, when
+    looking for packages on PyPI, the package name must now be spelled
+    exactly correct, including capitalization.
+  * Added --quiet option to output only the rating
+  * Pyroma is now an executable module, and can be called with
+    `python -m pyroma`
+- Switch to pyproject and pytest macros.
+- No more greedy globs in %files.
+- Remove a few unneeded words from the Summary.
+
+-------------------------------------------------------------------

Old:
----
  pyroma-3.1.tar.gz

New:
----
  pyroma-4.2.tar.gz

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

Other differences:
------------------
++++++ python-pyroma.spec ++++++
--- /var/tmp/diff_new_pack.EjVRdC/_old  2024-03-25 21:18:42.912591968 +0100
+++ /var/tmp/diff_new_pack.EjVRdC/_new  2024-03-25 21:18:42.928592556 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pyroma
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,36 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
 Name:           python-pyroma
-Version:        3.1
+Version:        4.2
 Release:        0
-Summary:        Program to test a Python project's adherence to packaging 
guidelines
+Summary:        Test a Python project's adherence to packaging guidelines
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/regebro/pyroma
 Source:         
https://files.pythonhosted.org/packages/source/p/pyroma/pyroma-%{version}.tar.gz
 BuildRequires:  %{python_module Pygments}
+BuildRequires:  %{python_module base >= 3.8}
+BuildRequires:  %{python_module build >= 0.7}
 BuildRequires:  %{python_module docutils}
+BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module packaging}
+BuildRequires:  %{python_module pip}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module trove-classifiers >= 2022.6}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-Pygments
+Requires:       python-build >= 0.7
 Requires:       python-docutils
-Requires:       python-setuptools
+Requires:       python-packaging
+Requires:       python-requests
+Requires:       python-setuptools >= 42
+Requires:       python-trove-classifiers >= 2022.6
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 BuildArch:      noarch
 %python_subpackages
 
@@ -53,17 +63,18 @@
 
 %build
 export LANG=en_US.UTF-8
-%python_build
+%pyproject_wheel
 
 %install
 export LANG=en_US.UTF-8
-%python_install
+%pyproject_install
 %python_clone -a %{buildroot}%{_bindir}/pyroma
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 export LANG=en_US.UTF-8
-%pyunittest discover -v
+# Requires network
+%pytest -k 'not (test_complete or test_distribute)'
 
 %post
 %python_install_alternative pyroma
@@ -73,7 +84,8 @@
 
 %files %{python_files}
 %license LICENSE.txt
-%doc README.rst HISTORY.txt
+%doc README.rst CHANGES.txt
 %python_alternative %{_bindir}/pyroma
-%{python_sitelib}/*
+%{python_sitelib}/pyroma
+%{python_sitelib}/pyroma-%{version}.dist-info
 

++++++ pyroma-3.1.tar.gz -> pyroma-4.2.tar.gz ++++++
++++ 5144 lines of diff (skipped)

Reply via email to