|
|
1f0ffa |
Name: python-flaky
|
|
|
1f0ffa |
Version: 3.8.1
|
|
rdobuilder |
18dce5 |
Release: 4%{?dist}
|
|
|
1f0ffa |
Summary: Plugin for pytest that automatically reruns flaky tests
|
|
|
1f0ffa |
License: Apache-2.0
|
|
|
1f0ffa |
URL: https://github.com/box/flaky
|
|
|
1f0ffa |
Source: %{pypi_source flaky}
|
|
|
1f0ffa |
BuildArch: noarch
|
|
|
1f0ffa |
|
|
|
1f0ffa |
BuildRequires: python3-devel
|
|
|
1f0ffa |
BuildRequires: python3-pytest
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%description
|
|
|
1f0ffa |
Flaky is a plugin for pytest that automatically reruns flaky
|
|
|
1f0ffa |
tests. Ideally, tests reliably pass or fail, but sometimes test fixtures must
|
|
|
1f0ffa |
rely on components that aren't 100% reliable. With flaky, instead of removing
|
|
|
1f0ffa |
those tests or marking them to @skip, they can be automatically retried.
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%package -n python3-flaky
|
|
|
1f0ffa |
Summary: %{summary}
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%description -n python3-flaky
|
|
|
1f0ffa |
Flaky is a plugin for pytest that automatically reruns flaky
|
|
|
1f0ffa |
tests. Ideally, tests reliably pass or fail, but sometimes test fixtures must
|
|
|
1f0ffa |
rely on components that aren't 100% reliable. With flaky, instead of removing
|
|
|
1f0ffa |
those tests or marking them to @skip, they can be automatically retried.
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%prep
|
|
|
1f0ffa |
%autosetup -p1 -n flaky-%{version}
|
|
|
1f0ffa |
|
|
|
1f0ffa |
# Use mock from standard library:
|
|
|
1f0ffa |
sed -i -e 's/import mock/from unittest import mock/' \
|
|
|
1f0ffa |
-e 's/from mock/from unittest.mock/' \
|
|
|
1f0ffa |
test/test_*/test_*.py
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%generate_buildrequires
|
|
|
1f0ffa |
%pyproject_buildrequires
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%build
|
|
|
1f0ffa |
%pyproject_wheel
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%install
|
|
|
1f0ffa |
%pyproject_install
|
|
|
1f0ffa |
%pyproject_save_files -l flaky
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%check
|
|
|
1f0ffa |
# adapted from upstream's tox.ini
|
|
|
1f0ffa |
%pytest -v -k 'example and not options' --doctest-modules test/test_pytest/
|
|
|
1f0ffa |
%pytest -v -k 'example and not options' test/test_pytest/
|
|
|
1f0ffa |
%pytest -v -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py
|
|
|
1f0ffa |
%pytest -v --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%files -n python3-flaky -f %{pyproject_files}
|
|
|
1f0ffa |
%doc README.rst
|
|
|
1f0ffa |
|
|
|
1f0ffa |
|
|
|
1f0ffa |
%changelog
|
|
rdobuilder |
18dce5 |
* Wed Jul 24 2024 Miroslav Suchý <msuchy@redhat.com> - 3.8.1-4
|
|
rdobuilder |
18dce5 |
- convert ASL 2.0 license to SPDX
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.8.1-3
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 3.8.1-2
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.13
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Thu Mar 28 2024 Tomáš Hrnčiar <thrnciar@redhat.com> - 3.8.1-1
|
|
rdobuilder |
18dce5 |
- Update to 3.8.1
|
|
rdobuilder |
18dce5 |
- Fixes: rhbz#2268803
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-14
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-13
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-12
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 3.7.0-11
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.12
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-10
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-9
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.7.0-8
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-7
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Thu Nov 25 2021 Miro Hrončok <mhroncok@redhat.com> - 3.7.0-6
|
|
rdobuilder |
18dce5 |
- Modernize packaging
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Mon Nov 22 2021 Charalampos Stratakis <cstratak@redhat.com> - 3.7.0-5
|
|
rdobuilder |
18dce5 |
- Remove the dependency on the deprecated nose test runner
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-4
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 3.7.0-3
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.7.0-2
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Wed Sep 23 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.7.0-1
|
|
rdobuilder |
18dce5 |
- Update to 3.7.0
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.6.1-3
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 3.6.1-2
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Wed Mar 11 2020 Tomas Hrnciar <thrnciar@redhat.com> - 3.6.1-1
|
|
rdobuilder |
18dce5 |
- Update to 3.6.1
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-5
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-4
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-3
|
|
rdobuilder |
18dce5 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.5.3-2
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Tue Apr 30 2019 Miro Hrončok <mhroncok@redhat.com> - 3.5.3-1
|
|
rdobuilder |
18dce5 |
- Update to 3.5.3
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.0-2
|
|
rdobuilder |
18dce5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
18dce5 |
|
|
rdobuilder |
18dce5 |
* Mon Jul 30 2018 Miro Hrončok <mhroncok@redhat.com> - 3.4.0-1
|
|
rdobuilder |
18dce5 |
- Initial package
|