Sync from SUSE:SLFO:Main python-pytest-timeout revision 68288bbd4aedac5c9ba8dcf03f09d885

This commit is contained in:
Adrian Schröter 2024-12-13 12:13:18 +01:00
parent 953adde03e
commit 930c394784
4 changed files with 32 additions and 11 deletions

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

Binary file not shown.

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

Binary file not shown.

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Sat Mar 16 13:01:47 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.3.1:
* Fixup some build errors, mostly README syntax which stopped
twine from uploading.
* Fix debugger detection for recent VSCode, this compiles pydevd
using cython which is now correctly detected.
* Switched to using Pytest's ``TerminalReporter`` instead
of writing directly to ``sys.{stdout,stderr}``.
* This change also switches all output from ``sys.stderr`` to
``sys.stdout``.
* Pytest 7.0.0 is now the minimum supported version.
* Add ``--session-timeout`` option and ``session_timeout`` setting.
-------------------------------------------------------------------
Tue Nov 7 20:11:16 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.2.0:
* Update _validate_func_only to return None so it can utilize the
environment
* Add --timeout-disable-debugger-detection flag
-------------------------------------------------------------------
Fri Apr 21 12:32:02 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-timeout
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,22 +16,20 @@
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%bcond_with ringdisabled
%{?sle15_python_module_pythons}
Name: python-pytest-timeout
Version: 2.1.0
Version: 2.3.1
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
BuildRequires: %{python_module pytest >= 5.0.0}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 5.0.0
Requires: python-pytest >= 7.0.0
# SECTION test
%if !%{with ringdisabled}
BuildRequires: %{python_module pytest-cov}