|
|
410505 |
%global pypi_name pytest-timeout
|
|
|
410505 |
|
|
|
410505 |
Name: python-%{pypi_name}
|
|
|
410505 |
Version: 1.4.2
|
|
|
410505 |
Release: 7%{?dist}
|
|
|
410505 |
Summary: py.test plugin to abort hanging tests
|
|
|
410505 |
|
|
|
410505 |
License: MIT
|
|
|
410505 |
URL: https://github.com/pytest-dev/pytest-timeout
|
|
|
410505 |
Source0: %{pypi_source}
|
|
|
410505 |
|
|
|
410505 |
# This patch skips 3 tests out of 38 because of missing dependency
|
|
|
410505 |
# python-pexpect in RHEL 9
|
|
|
410505 |
Patch1: 0001-Remove-test-only-dependency-pexpect.patch
|
|
|
410505 |
|
|
|
410505 |
BuildArch: noarch
|
|
|
410505 |
|
|
|
410505 |
BuildRequires: python3-devel
|
|
|
410505 |
BuildRequires: %{py3_dist pytest} >= 3.6.0
|
|
|
410505 |
BuildRequires: %{py3_dist setuptools}
|
|
|
410505 |
|
|
|
410505 |
%global _description %{expand:
|
|
|
410505 |
This is a plugin which will terminate tests after a certain timeout. When doing
|
|
|
410505 |
so it will show a stack dump of all threads running at the time. This is useful
|
|
|
410505 |
when running tests under a continuous integration server or simply if you don’t
|
|
|
410505 |
know why the test suite hangs.}
|
|
|
410505 |
|
|
|
410505 |
%description %_description
|
|
|
410505 |
|
|
|
410505 |
%package -n python3-%{pypi_name}
|
|
|
410505 |
Summary: %{summary}
|
|
|
410505 |
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
410505 |
|
|
|
410505 |
%description -n python3-%{pypi_name} %_description
|
|
|
410505 |
|
|
|
410505 |
%prep
|
|
|
410505 |
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
410505 |
|
|
|
410505 |
%build
|
|
|
410505 |
%py3_build
|
|
|
410505 |
|
|
|
410505 |
%install
|
|
|
410505 |
%py3_install
|
|
|
410505 |
|
|
|
410505 |
%check
|
|
|
410505 |
%pytest -k "not test_cov"
|
|
|
410505 |
|
|
|
410505 |
|
|
|
410505 |
%files -n python3-%{pypi_name}
|
|
|
410505 |
%doc README.rst
|
|
|
410505 |
%license LICENSE
|
|
|
410505 |
%{python3_sitelib}/pytest_timeout*
|
|
|
410505 |
%{python3_sitelib}/__pycache__/pytest_timeout*
|
|
|
410505 |
|
|
|
410505 |
%changelog
|
|
|
410505 |
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-7
|
|
|
410505 |
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
410505 |
Related: rhbz#1991688
|
|
|
410505 |
|
|
|
410505 |
* Tue Jun 15 2021 Tomas Orsava <torsava@redhat.com> - 1.4.2-6
|
|
|
410505 |
- Remove test-dependency on python-pexpect
|
|
|
410505 |
|
|
|
410505 |
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-5
|
|
|
410505 |
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
410505 |
|
|
|
410505 |
* Tue Mar 30 2021 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-4
|
|
|
410505 |
- Don't BuildRequire python3-pytest-cov
|
|
|
410505 |
Resolves: rhbz#1945252
|
|
|
410505 |
|
|
|
410505 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-2
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Wed Jul 15 2020 Scott Talbert <swt@techie.net> - 1.4.2-1
|
|
|
410505 |
- Update to new upstream release 1.4.2 (#1857421)
|
|
|
410505 |
|
|
|
410505 |
* Fri Jun 26 2020 Scott Talbert <swt@techie.net> - 1.4.1-2
|
|
|
410505 |
- Add missing BR for setuptools
|
|
|
410505 |
|
|
|
410505 |
* Tue Jun 16 2020 Scott Talbert <swt@techie.net> - 1.4.1-1
|
|
|
410505 |
- Update to new upstream release 1.4.1 (#1846923)
|
|
|
410505 |
- Modernize packaging
|
|
|
410505 |
|
|
|
410505 |
* Sat May 23 2020 Miro Hrončok <mhroncok@redhat.com> - 1.3.4-3
|
|
|
410505 |
- Rebuilt for Python 3.9
|
|
|
410505 |
|
|
|
410505 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Tue Jan 07 2020 Scott Talbert <swt@techie.net> - 1.3.4-1
|
|
|
410505 |
- Update to new upstream release (#1788278)
|
|
|
410505 |
|
|
|
410505 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.3-7
|
|
|
410505 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
410505 |
|
|
|
410505 |
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.3-6
|
|
|
410505 |
- Rebuilt for Python 3.8
|
|
|
410505 |
|
|
|
410505 |
* Thu Aug 08 2019 Scott Talbert <swt@techie.net> - 1.3.3-5
|
|
|
410505 |
- Remove Python 2 subpackages (#1737398)
|
|
|
410505 |
|
|
|
410505 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Thu Apr 04 2019 Miro Hrončok <mhroncok@redhat.com> - 1.3.3-3
|
|
|
410505 |
- Add upstream patch for pytest 4 compatibility
|
|
|
410505 |
|
|
|
410505 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-2
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Fri Jan 25 2019 Scott Talbert <swt@techie.net> - 1.3.3-1
|
|
|
410505 |
- New upstream release 1.3.3
|
|
|
410505 |
|
|
|
410505 |
* Tue Oct 23 2018 Scott Talbert <swt@techie.net> - 1.3.2-1
|
|
|
410505 |
- New upstream release 1.3.2
|
|
|
410505 |
|
|
|
410505 |
* Fri Sep 14 2018 Scott Talbert <swt@techie.net> - 1.3.1-2
|
|
|
410505 |
- Disable writing bytecode when running tests to avoid packaging pycache files
|
|
|
410505 |
|
|
|
410505 |
* Tue Jul 24 2018 Scott Talbert <swt@techie.net> - 1.3.1-1
|
|
|
410505 |
- New upstream release 1.3.1
|
|
|
410505 |
|
|
|
410505 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.0-2
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Wed Jun 27 2018 Scott Talbert <swt@techie.net> - 1.3.0-1
|
|
|
410505 |
- New upstream release 1.3.0
|
|
|
410505 |
|
|
|
410505 |
* Mon Jun 18 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-2
|
|
|
410505 |
- Rebuilt for Python 3.7
|
|
|
410505 |
|
|
|
410505 |
* Wed Jun 13 2018 Scott Talbert <swt@techie.net> - 1.2.1-1
|
|
|
410505 |
- New upstream release 1.2.1 (fixes FTBFS #1590256)
|
|
|
410505 |
|
|
|
410505 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Fri Jul 28 2017 Scott Talbert <swt@techie.net> - 1.2.0-3
|
|
|
410505 |
- Updated to use versioned dependency name
|
|
|
410505 |
|
|
|
410505 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Wed May 10 2017 Scott Talbert <swt@techie.net> - 1.2.0-1
|
|
|
410505 |
- New upstream release 1.2.0
|
|
|
410505 |
- Enable tests
|
|
|
410505 |
|
|
|
410505 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-3
|
|
|
410505 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
410505 |
|
|
|
410505 |
* Tue Dec 13 2016 Stratakis Charalampos <cstratak@redhat.com> - 1.0.0-2
|
|
|
410505 |
- Rebuild for Python 3.6
|
|
|
410505 |
|
|
|
410505 |
* Thu Aug 11 2016 Scott Talbert <swt@techie.net> - 1.0.0-1
|
|
|
410505 |
- Initial package.
|