Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-stestr for openSUSE:Factory checked in at 2025-08-07 16:48:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-stestr (Old) and /work/SRC/openSUSE:Factory/.python-stestr.new.1085 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-stestr" Thu Aug 7 16:48:41 2025 rev:24 rq:1297989 version:4.2.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-stestr/python-stestr.changes 2024-01-05 21:47:01.358592698 +0100 +++ /work/SRC/openSUSE:Factory/.python-stestr.new.1085/python-stestr.changes 2025-08-07 16:49:51.830941511 +0200 @@ -1,0 +2,25 @@ +Tue Aug 5 11:06:42 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 4.2.0 + * Bugfix: make repo initialization respect pyproject.toml + * Test on Python 3.12 + * Disable checks failure on coverage + * Pivot PyPI publishing to use trusted publishers + * Update package metadata for support Python versions + * Remove Python 3.7 support + * Bump codecov action version + * Remove dependency on the extras library + * Normalize paths + * Adapt to tox 4 + * Update upload-artifact action in CI + * Update black to the latest version + * Mark Python 3.13 as supported too + * Adjust rst syntax in README + * Modernize Python packaging + * Update release job to work with new packaging structure +- Add support for libalternatives +- Remove ChangeLog from %files section +- Update BuildRequires from pyproject.toml +- Use Python 3.11 on SLE-15 by default + +------------------------------------------------------------------- Old: ---- stestr-4.1.0.tar.gz New: ---- stestr-4.2.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-stestr.spec ++++++ --- /var/tmp/diff_new_pack.r07JjJ/_old 2025-08-07 16:49:52.398965404 +0200 +++ /var/tmp/diff_new_pack.r07JjJ/_new 2025-08-07 16:49:52.398965404 +0200 @@ -24,19 +24,35 @@ %define psuffix %{nil} %bcond_with test %endif + +%if 0%{?suse_version} > 1500 +%bcond_without libalternatives +%else +%bcond_with libalternatives +%endif + +%{?sle15_python_module_pythons} Name: python-stestr%{psuffix} -Version: 4.1.0 +Version: 4.2.0 Release: 0 Summary: A parallel Python test runner built around subunit License: Apache-2.0 URL: https://github.com/mtreinish/stestr Source: https://files.pythonhosted.org/packages/source/s/stestr/stestr-%{version}.tar.gz +BuildRequires: %{python_module flit-core} BuildRequires: %{python_module pbr >= 2.0.0} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros +%if %{with libalternatives} +Requires: alts +BuildRequires: alts +%else +Requires(post): update-alternatives +Requires(postun):update-alternatives +%endif Requires: python-PyYAML >= 3.10.0 Requires: python-cliff >= 2.8.0 Requires: python-dbm @@ -46,8 +62,6 @@ Requires: python-testtools >= 2.2.0 Requires: python-tomlkit >= 0.11.6 Requires: python-voluptuous >= 0.8.9 -Requires(post): update-alternatives -Requires(postun):update-alternatives BuildArch: noarch %if %{with test} BuildRequires: %{python_module SQLAlchemy} @@ -94,6 +108,9 @@ %python_clone -a %{buildroot}%{_bindir}/stestr %python_expand %fdupes %{buildroot}%{$python_sitelib} +%pre +%python_libalternatives_reset_alternative stestr + %post %python_install_alternative stestr @@ -102,7 +119,7 @@ %files %{python_files} %license LICENSE -%doc ChangeLog README.rst +%doc README.rst %python_alternative %{_bindir}/stestr %{python_sitelib}/stestr %{python_sitelib}/stestr-%{version}.dist-info ++++++ stestr-4.1.0.tar.gz -> stestr-4.2.0.tar.gz ++++++ ++++ 3886 lines of diff (skipped)