11
0

4 Commits

4 changed files with 25 additions and 11 deletions

BIN
pytest-timeout-2.3.1.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a
size 17973

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 5 08:35:09 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 2.4.0:
* Detect debuggers registered with sys.monitoring.
* Make it clear the timeout message comes from pytest-timeout.
-------------------------------------------------------------------
Wed May 7 06:59:42 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
-------------------------------------------------------------------
Sat Mar 16 13:01:47 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-timeout
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,16 @@
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-pytest-timeout
Version: 2.3.1
Version: 2.4.0
Release: 0
Summary: Pytest plugin to abort hanging tests
License: MIT
URL: https://github.com/pytest-dev/pytest-timeout/
Source: https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest-timeout-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest_timeout-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 7.0.0
@@ -55,13 +57,13 @@ But the plugin will ensure you will have the debugging output on
stderr nevertheless, which is the most important part at this stage.
%prep
%setup -q -n pytest-timeout-%{version}
%setup -q -n pytest_timeout-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -73,8 +75,8 @@ donttest="or test_cov"
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/pytest_timeout-%{version}*-info
%{python_sitelib}/pytest_timeout.py*
%{python_sitelib}/pytest_timeout-%{version}.dist-info
%{python_sitelib}/pytest_timeout.py
%pycache_only %{python_sitelib}/__pycache__/pytest_timeout*.pyc
%changelog