|
|
ffb158 |
%global upstream_name pytest-randomly
|
|
|
ffb158 |
|
|
|
ffb158 |
Name: python-%{upstream_name}
|
|
|
ffb158 |
Version: 3.15.0
|
|
rdobuilder |
abb782 |
Release: 4%{?dist}
|
|
|
ffb158 |
Summary: Pytest plugin to randomly order tests and control random.seed
|
|
|
ffb158 |
License: MIT
|
|
|
ffb158 |
URL: https://github.com/pytest-dev/pytest-randomly
|
|
|
ffb158 |
Source0: %{url}/archive/%{version}/%{upstream_name}-%{version}.tar.gz
|
|
|
ffb158 |
|
|
|
ffb158 |
BuildArch: noarch
|
|
|
ffb158 |
|
|
|
ffb158 |
BuildRequires: python3-devel
|
|
|
ffb158 |
BuildRequires: pyproject-rpm-macros
|
|
|
ffb158 |
|
|
|
ffb158 |
# Required for tests
|
|
|
ffb158 |
BuildRequires: python3dist(factory-boy)
|
|
|
ffb158 |
BuildRequires: python3dist(numpy)
|
|
|
ffb158 |
BuildRequires: python3dist(pytest-xdist)
|
|
|
ffb158 |
|
|
|
ffb158 |
%description
|
|
|
ffb158 |
%{summary}.
|
|
|
ffb158 |
|
|
|
ffb158 |
%package -n python3-%{upstream_name}
|
|
|
ffb158 |
Summary: %{summary}
|
|
|
ffb158 |
|
|
|
ffb158 |
%description -n python3-%{upstream_name}
|
|
|
ffb158 |
%{summary}.
|
|
|
ffb158 |
|
|
|
ffb158 |
%prep
|
|
|
ffb158 |
%autosetup -p1 -n %{upstream_name}-%{version}
|
|
|
ffb158 |
|
|
|
ffb158 |
%generate_buildrequires
|
|
|
ffb158 |
%pyproject_buildrequires
|
|
|
ffb158 |
|
|
|
ffb158 |
%build
|
|
|
ffb158 |
%pyproject_wheel
|
|
|
ffb158 |
|
|
|
ffb158 |
%install
|
|
|
ffb158 |
%pyproject_install
|
|
|
ffb158 |
%pyproject_save_files pytest_randomly
|
|
|
ffb158 |
|
|
|
ffb158 |
%check
|
|
|
ffb158 |
# Skip test_model_bakery to avoid new dependency on model_bakery
|
|
|
ffb158 |
%pytest -p no:randomly -k 'not test_it_runs_before_stepwise and not test_model_bakery'
|
|
|
ffb158 |
|
|
|
ffb158 |
%files -n python3-%{upstream_name} -f %{pyproject_files}
|
|
|
ffb158 |
%doc README.rst HISTORY.rst
|
|
|
ffb158 |
%license LICENSE
|
|
|
ffb158 |
|
|
|
ffb158 |
%changelog
|
|
rdobuilder |
abb782 |
* Sat Oct 19 2024 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.15.0-4
|
|
rdobuilder |
abb782 |
- pytest-forked not required since release 3.13
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.15.0-3
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 3.15.0-2
|
|
rdobuilder |
abb782 |
- Rebuilt for Python 3.13
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Mar 08 2024 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.15.0-1
|
|
rdobuilder |
abb782 |
- Update to 3.15.0 - Closes rhbz#2232088
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-4
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-3
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.13.0-2
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Mon Jul 10 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.13.0-1
|
|
rdobuilder |
abb782 |
- Update to 3.13.0 - Closes rhbz#2221652
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jun 16 2023 Python Maint <python-maint@redhat.com> - 3.12.0-6
|
|
rdobuilder |
abb782 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed Apr 12 2023 Miro Hrončok <miro@hroncok.cz> - 3.12.0-5
|
|
rdobuilder |
abb782 |
- Fix tests failures with pytest 7.3.x
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-4
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.12.0-3
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 3.12.0-2
|
|
rdobuilder |
abb782 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed May 11 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.12.0-1
|
|
rdobuilder |
abb782 |
- Update to 3.12.0 - Closes rhbz#2084246
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.11.0-2
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Mon Jan 17 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.11.0-1
|
|
rdobuilder |
abb782 |
- Update to 3.11.0 - Closes rhbz#2038996
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Sat Nov 06 2021 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 3.10.1-1
|
|
rdobuilder |
abb782 |
- Update to 3.10.1
|
|
rdobuilder |
abb782 |
- Switch to pyproject-rpm-macros
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-4
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.5.0-3
|
|
rdobuilder |
abb782 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.0-2
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Sat Dec 12 2020 Dan Callaghan <djc@djc.id.au> - 3.5.0-1
|
|
rdobuilder |
abb782 |
- new upstream release 3.5.0, including license change to MIT:
|
|
rdobuilder |
abb782 |
https://github.com/pytest-dev/pytest-randomly/blob/3.5.0/HISTORY.rst
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Thu Aug 20 2020 Merlin Mathesius <mmathesi@redhat.com> - 3.4.1-4
|
|
rdobuilder |
abb782 |
- Fix Rawhide FTBFS error by pulling in upstream patch
|
|
rdobuilder |
abb782 |
- Fix ELN FTBFS error by making minor conditional fixes
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.1-3
|
|
rdobuilder |
abb782 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed Jul 15 2020 Dan Callaghan <djc@djc.id.au> - 3.4.1-2
|
|
rdobuilder |
abb782 |
- skip tests for optional faker integration when it is not available
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Wed Jul 15 2020 Dan Callaghan <djc@djc.id.au> - 3.4.1-1
|
|
rdobuilder |
abb782 |
- new upstream release 3.4.1:
|
|
rdobuilder |
abb782 |
https://github.com/pytest-dev/pytest-randomly/blob/3.4.1/HISTORY.rst
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Sat Jun 13 2020 Dan Callaghan <djc@djc.id.au> - 3.4.0-1
|
|
rdobuilder |
abb782 |
- new upstream release 3.4.0:
|
|
rdobuilder |
abb782 |
https://github.com/pytest-dev/pytest-randomly/blob/3.4.0/HISTORY.rst
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.3.1-2
|
|
rdobuilder |
abb782 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Sun May 17 2020 Dan Callaghan <dan.callaghan@opengear.com> - 3.3.1-1
|
|
rdobuilder |
abb782 |
- new upstream release 3.3.1:
|
|
rdobuilder |
abb782 |
https://github.com/pytest-dev/pytest-randomly/blob/3.3.1/HISTORY.rst
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Thu Jan 30 2020 Dan Callaghan <dan.callaghan@opengear.com> - 3.2.1-1
|
|
rdobuilder |
abb782 |
- new upstream release 3.2.1
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Mon Dec 30 2019 Dan Callaghan <dan.callaghan@opengear.com> - 1.2.3-2
|
|
rdobuilder |
abb782 |
- re-enabled tests, suppress pytest bytecode
|
|
rdobuilder |
abb782 |
|
|
rdobuilder |
abb782 |
* Mon Dec 31 2018 Dan Callaghan <dan.callaghan@opengear.com> - 1.2.3-1
|
|
rdobuilder |
abb782 |
- initial version
|