forked from pool/python-stestr
Accepting request 1297989 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1297989 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-stestr?expand=0&rev=24
This commit is contained in:
@@ -1,3 +1,28 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 5 11:06:42 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@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
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jan 4 23:06:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Thu Jan 4 23:06:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -24,19 +24,35 @@
|
|||||||
%define psuffix %{nil}
|
%define psuffix %{nil}
|
||||||
%bcond_with test
|
%bcond_with test
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?suse_version} > 1500
|
||||||
|
%bcond_without libalternatives
|
||||||
|
%else
|
||||||
|
%bcond_with libalternatives
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-stestr%{psuffix}
|
Name: python-stestr%{psuffix}
|
||||||
Version: 4.1.0
|
Version: 4.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A parallel Python test runner built around subunit
|
Summary: A parallel Python test runner built around subunit
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
URL: https://github.com/mtreinish/stestr
|
URL: https://github.com/mtreinish/stestr
|
||||||
Source: https://files.pythonhosted.org/packages/source/s/stestr/stestr-%{version}.tar.gz
|
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 pbr >= 2.0.0}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
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-PyYAML >= 3.10.0
|
||||||
Requires: python-cliff >= 2.8.0
|
Requires: python-cliff >= 2.8.0
|
||||||
Requires: python-dbm
|
Requires: python-dbm
|
||||||
@@ -46,8 +62,6 @@ Requires: python-python-subunit >= 1.4.0
|
|||||||
Requires: python-testtools >= 2.2.0
|
Requires: python-testtools >= 2.2.0
|
||||||
Requires: python-tomlkit >= 0.11.6
|
Requires: python-tomlkit >= 0.11.6
|
||||||
Requires: python-voluptuous >= 0.8.9
|
Requires: python-voluptuous >= 0.8.9
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(postun):update-alternatives
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
BuildRequires: %{python_module SQLAlchemy}
|
BuildRequires: %{python_module SQLAlchemy}
|
||||||
@@ -94,6 +108,9 @@ export LC_ALL="en_US.UTF8"
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/stestr
|
%python_clone -a %{buildroot}%{_bindir}/stestr
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%python_libalternatives_reset_alternative stestr
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative stestr
|
%python_install_alternative stestr
|
||||||
|
|
||||||
@@ -102,7 +119,7 @@ export LC_ALL="en_US.UTF8"
|
|||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc ChangeLog README.rst
|
%doc README.rst
|
||||||
%python_alternative %{_bindir}/stestr
|
%python_alternative %{_bindir}/stestr
|
||||||
%{python_sitelib}/stestr
|
%{python_sitelib}/stestr
|
||||||
%{python_sitelib}/stestr-%{version}.dist-info
|
%{python_sitelib}/stestr-%{version}.dist-info
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:5f61c369eece63c292d13599e12aa158af7685990643f24dd6fa7fabfe34e98a
|
|
||||||
size 113187
|
|
3
stestr-4.2.0.tar.gz
Normal file
3
stestr-4.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:45ec639f2d1cc372e3630613b93f37cf29d3dfe69d49d4f3f9408d37b11bc29c
|
||||||
|
size 79824
|
Reference in New Issue
Block a user