Compare commits

..

2 Commits
epel9 ... i10ce

40
.gitignore vendored

@ -1,39 +1 @@
/pytest-xdist-1.14.zip
/pytest-xdist-1.15.0.tar.gz
/pytest-xdist-1.16.0.tar.gz
/pytest-xdist-1.17.0.tar.gz
/pytest-xdist-1.17.1.tar.gz
/pytest-xdist-1.18.0.tar.gz
/pytest-xdist-1.18.1.tar.gz
/pytest-xdist-1.18.2.tar.gz
/pytest-xdist-1.19.0.tar.gz
/pytest-xdist-1.19.1.tar.gz
/pytest-xdist-1.20.0.tar.gz
/pytest-xdist-1.20.1.tar.gz
/pytest-xdist-1.21.0.tar.gz
/pytest-xdist-1.22.0.tar.gz
/pytest-xdist-1.22.1.tar.gz
/pytest-xdist-1.22.2.tar.gz
/pytest-xdist-1.22.3.tar.gz
/pytest-xdist-1.22.5.tar.gz
/pytest-xdist-1.23.2.tar.gz
/pytest-xdist-1.24.0.tar.gz
/pytest-xdist-1.24.1.tar.gz
/pytest-xdist-1.25.0.tar.gz
/pytest-xdist-1.26.0.tar.gz
/pytest-xdist-1.26.1.tar.gz
/pytest-xdist-1.27.0.tar.gz
/pytest-xdist-1.28.0.tar.gz
/pytest-xdist-1.29.0.tar.gz
/pytest-xdist-1.30.0.tar.gz
/pytest-xdist-1.31.0.tar.gz
/pytest-xdist-1.32.0.tar.gz
/pytest-xdist-1.33.0.tar.gz
/pytest-xdist-1.34.0.tar.gz
/pytest-xdist-2.0.0.tar.gz
/pytest-xdist-2.1.0.tar.gz
/pytest-xdist-2.2.0.tar.gz
/pytest-xdist-2.2.1.tar.gz
/pytest-xdist-2.3.0.tar.gz
/pytest-xdist-2.4.0.tar.gz
/pytest-xdist-2.5.0.tar.gz
SOURCES/pytest_xdist-3.6.1.tar.gz

@ -0,0 +1 @@
dd1f5ae9ed67c10e5172e7a8d61988ccfc63b88c SOURCES/pytest_xdist-3.6.1.tar.gz

@ -1,9 +1,9 @@
%global pypi_name pytest-xdist
%global pypi_name pytest_xdist
Name: python-%{pypi_name}
Version: 2.5.0
Release: 2%{?dist}
Summary: py.test plugin for distributed testing and loop-on-failing modes
Name: python-pytest-xdist
Version: 3.6.1
Release: 4%{?dist}
Summary: pytest plugin for distributed testing and loop-on-failing modes
License: MIT
URL: https://github.com/pytest-dev/pytest-xdist
@ -11,58 +11,112 @@ Source0: %{pypi_source}
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist execnet} >= 1.1
BuildRequires: %{py3_dist filelock}
BuildRequires: %{py3_dist psutil} >= 3.0.0
BuildRequires: %{py3_dist pytest} >= 6.0.0
BuildRequires: %{py3_dist pytest-forked}
BuildRequires: %{py3_dist py}
BuildRequires: %{py3_dist setuptools}
BuildRequires: %{py3_dist setuptools_scm}
%global _description %{expand:
The pytest-xdist plugin extends py.test with some unique test execution modes:
* test run parallelization: if you have multiple CPUs or hosts you can use
those for a combined test run. This allows to speed up development or to use
special resources of remote machines.
* --boxed: run each test in a boxed subprocess to survive SEGFAULTS or
otherwise dying processes
* --looponfail: run your tests repeatedly in a subprocess. After each run
py.test waits until a file in your project changes and then re-runs the
previously failing tests. This is repeated until all tests pass after which
again a full run is performed.
* Multi-Platform coverage: you can specify different Python interpreters or
different platforms and run tests in parallel on all of them.}
The pytest-xdist plugin extends pytest with new test execution modes,
the most used being distributing tests across multiple CPUs
to speed up test execution:
pytest -n auto
With this call, pytest will spawn a number of workers processes equal
to the number of available CPUs, and distribute the tests randomly across them.}
%description %_description
%package -n python3-%{pypi_name}
%package -n python3-pytest-xdist
Summary: %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}
Requires: %{py3_dist py}
%description -n python3-%{pypi_name} %_description
%description -n python3-pytest-xdist %_description
%pyproject_extras_subpkg -n python3-pytest-xdist psutil setproctitle
%prep
%autosetup -n %{pypi_name}-%{version}
%autosetup -n %{pypi_name}-%{version} -p 1
%generate_buildrequires
%pyproject_buildrequires -t -x testing -x psutil -x setproctitle
%build
%py3_build
%pyproject_wheel
%install
%py3_install
%pyproject_install
%pyproject_save_files -l xdist
%check
%pytest
%tox
%files -n python3-%{pypi_name}
%files -n python3-pytest-xdist -f %{pyproject_files}
%doc README.rst
%license LICENSE
%{python3_sitelib}/pytest_xdist*
%{python3_sitelib}/xdist/
%changelog
* Tue Dec 17 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 3.6.1-4
- Rebuilt for MSVSphere 10
* Tue Aug 06 2024 Scott Talbert <swt@techie.net> - 3.6.1-4
- Update License tag to use SPDX identifiers
- Modernize Python packaging
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.6.1-2
- Rebuilt for Python 3.13
* Wed May 01 2024 Scott Talbert <swt@techie.net> - 3.6.1-1
- Update to new upstream release 3.6.1 (#2276175)
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Nov 29 2023 Scott Talbert <swt@techie.net> - 3.5.0-1
- Update to new upstream release 3.5.0 (#2250980)
* Sat Nov 18 2023 Scott Talbert <swt@techie.net> - 3.4.0-1
- Update to new upstream release 3.4.0 (#2249319)
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 3.3.1-2
- Rebuilt for Python 3.12
* Fri May 19 2023 Scott Talbert <swt@techie.net> - 3.3.1-1
- Update to new upstream release 3.3.1 (#2203558)
* Wed Apr 26 2023 Scott Talbert <swt@techie.net> - 3.2.1-1
- Update to new upstream release 3.2.1 (#2177575)
* Thu Feb 09 2023 Scott Talbert <swt@techie.net> - 3.2.0-1
- Update to new upstream release 3.2.0 (#2168367)
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jan 18 2023 Scott Talbert <swt@techie.net> - 3.1.0-2
- Fix tests when PYTEST_XDIST_AUTO_NUM_WORKERS is set (#2161636)
* Sun Dec 04 2022 Scott Talbert <swt@techie.net> - 3.1.0-1
- Update to new upstream release 3.1.0 (#2150627)
* Fri Oct 28 2022 Miro Hrončok <mhroncok@redhat.com> - 3.0.2-2
- Drop unused runtime requirement on on the python3-py package
- Package the pytest-xdist[psutil] and pytest-xdist[setproctitle] extras
* Wed Oct 26 2022 Scott Talbert <swt@techie.net> - 3.0.2-1
- Update to new upstream release 3.0.2 (#2137874)
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 2.5.0-3
- Rebuilt for Python 3.11
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -1 +0,0 @@
SHA512 (pytest-xdist-2.5.0.tar.gz) = 22da4db7cdd6173fb8377b6adc30b5617ccb0bb308cb5d30980484dd7ddff87cf2a485ae8522c7957d8954dd2f8a5542b9f63b0fa7184cc44e50dbafc3f4e909
Loading…
Cancel
Save