Compare commits

...

No commits in common. 'f38' and 'i9c' have entirely different histories.
f38 ... i9c

15
.gitignore vendored

@ -1,14 +1 @@
/pytest-timeout-1.0.0.tar.gz
/pytest-timeout-1.2.0.tar.gz
/pytest-timeout-1.2.1.tar.gz
/pytest-timeout-1.3.0.tar.gz
/pytest-timeout-1.3.1.tar.gz
/pytest-timeout-1.3.2.tar.gz
/pytest-timeout-1.3.3.tar.gz
/pytest-timeout-1.3.4.tar.gz
/pytest-timeout-1.4.1.tar.gz
/pytest-timeout-1.4.2.tar.gz
/pytest-timeout-2.0.0.tar.gz
/pytest-timeout-2.0.1.tar.gz
/pytest-timeout-2.0.2.tar.gz
/pytest-timeout-2.1.0.tar.gz
SOURCES/pytest-timeout-1.4.2.tar.gz

@ -0,0 +1 @@
56df6d5116a97976f2cfb896b13708999c614332 SOURCES/pytest-timeout-1.4.2.tar.gz

@ -0,0 +1,28 @@
From 787944c580596237b732e227075e9e9e257681a6 Mon Sep 17 00:00:00 2001
From: Tomas Orsava <torsava@redhat.com>
Date: Tue, 15 Jun 2021 11:15:19 +0200
Subject: [PATCH] Remove test-only dependency pexpect
---
test_pytest_timeout.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test_pytest_timeout.py b/test_pytest_timeout.py
index 16302d7..fe0dd05 100644
--- a/test_pytest_timeout.py
+++ b/test_pytest_timeout.py
@@ -3,7 +3,10 @@ import signal
import sys
import time
-import pexpect
+try:
+ import pexpect
+except ImportError:
+ pexpect = None # does not have spawn :)
import pytest
pytest_plugins = "pytester"
--
2.31.1

@ -1,20 +1,22 @@
%global pypi_name pytest-timeout
Name: python-%{pypi_name}
Version: 2.1.0
Release: 4%{?dist}
Version: 1.4.2
Release: 7%{?dist}
Summary: py.test plugin to abort hanging tests
License: MIT
URL: https://github.com/pytest-dev/pytest-timeout
Source0: %{pypi_source}
# This patch skips 3 tests out of 38 because of missing dependency
# python-pexpect in RHEL 9
Patch1: 0001-Remove-test-only-dependency-pexpect.patch
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: %{py3_dist pexpect}
BuildRequires: %{py3_dist pytest} >= 3.6.0
BuildRequires: %{py3_dist pytest-cov}
BuildRequires: %{py3_dist setuptools}
%global _description %{expand:
@ -41,7 +43,7 @@ Summary: %{summary}
%py3_install
%check
%pytest
%pytest -k "not test_cov"
%files -n python3-%{pypi_name}
@ -51,35 +53,22 @@ Summary: %{summary}
%{python3_sitelib}/__pycache__/pytest_timeout*
%changelog
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 2.1.0-2
- Rebuilt for Python 3.11
* Sat Jan 22 2022 Scott Talbert <swt@techie.net> - 2.1.0-1
- Update to new upstream release 2.1.0 (#2042161)
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Dec 14 2021 Scott Talbert <swt@techie.net> - 2.0.2-1
- Update to new upstream release 2.0.2 (#2032002)
* Wed Mar 15 2023 MSVSphere Packaging Team <packager@msvsphere.ru> - 1.4.2-7
- Rebuilt for MSVSphere 9.1.
* Mon Oct 11 2021 Scott Talbert <swt@techie.net> - 2.0.1-1
- Update to new upstream release 2.0.1 (#2013023)
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-7
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Mon Oct 11 2021 Scott Talbert <swt@techie.net> - 2.0.0-1
- Update to new upstream release 2.0.0 (#2012634)
* Tue Jun 15 2021 Tomas Orsava <torsava@redhat.com> - 1.4.2-6
- Remove test-dependency on python-pexpect
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.4.2-5
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 1.4.2-4
- Rebuilt for Python 3.10
* Tue Mar 30 2021 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-4
- Don't BuildRequire python3-pytest-cov
Resolves: rhbz#1945252
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

@ -1 +0,0 @@
SHA512 (pytest-timeout-2.1.0.tar.gz) = 5750e5183669ed9b83fbb76bd7fc9fc1f5f6eef3d9b675dc44f6c7edfd2c6d15739d71e845ededaa192c93da73026ac3376a3295be9f7d3f3eac325660ce7bf3
Loading…
Cancel
Save