From 3cadcbe9c09cd4fd5f9d513d16d49a0daeb8684355432a3ff34ded89d712ec19 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 5 Sep 2025 08:43:26 +0000 Subject: [PATCH] - update to 2.4.0: * Detect debuggers registered with sys.monitoring. * Make it clear the timeout message comes from pytest-timeout. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=28 --- pytest-timeout-2.3.1.tar.gz | 3 --- pytest_timeout-2.4.0.tar.gz | 3 +++ python-pytest-timeout.changes | 7 +++++++ python-pytest-timeout.spec | 8 ++++---- 4 files changed, 14 insertions(+), 7 deletions(-) delete mode 100644 pytest-timeout-2.3.1.tar.gz create mode 100644 pytest_timeout-2.4.0.tar.gz diff --git a/pytest-timeout-2.3.1.tar.gz b/pytest-timeout-2.3.1.tar.gz deleted file mode 100644 index 801ab2c..0000000 --- a/pytest-timeout-2.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:12397729125c6ecbdaca01035b9e5239d4db97352320af155b3f5de1ba5165d9 -size 17697 diff --git a/pytest_timeout-2.4.0.tar.gz b/pytest_timeout-2.4.0.tar.gz new file mode 100644 index 0000000..14100c4 --- /dev/null +++ b/pytest_timeout-2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e68e90b01f9eff71332b25001f85c75495fc4e3a836701876183c4bcfd0540a +size 17973 diff --git a/python-pytest-timeout.changes b/python-pytest-timeout.changes index b68e2cf..4bc547e 100644 --- a/python-pytest-timeout.changes +++ b/python-pytest-timeout.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Sep 5 08:35:09 UTC 2025 - Dirk Müller + +- 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 diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec index 36dccdc..4a31abf 100644 --- a/python-pytest-timeout.spec +++ b/python-pytest-timeout.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-timeout # -# Copyright (c) 2025 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,12 +19,12 @@ %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} @@ -57,7 +57,7 @@ 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 %pyproject_wheel