11
0

30 Commits

Author SHA256 Message Date
027db4cbda Accepting request 1302886 from devel:languages:python:pytest
- 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/request/show/1302886
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=17
2025-09-05 19:42:29 +00:00
b7f5c5e914 - 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
2025-09-05 08:43:26 +00:00
36ca5154b8 Accepting request 1275114 from devel:languages:python:pytest
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1275114
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=16
2025-05-07 17:15:55 +00:00
22fdc5de7d Accepting request 1158473 from devel:languages:python:pytest
- 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.

OBS-URL: https://build.opensuse.org/request/show/1158473
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=15
2024-03-18 15:44:22 +00:00
ec40c68af5 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=24
2024-03-16 13:03:24 +00:00
8645f50fe8 Accepting request 1124096 from devel:languages:python:pytest
- update to 2.2.0:
  * Update _validate_func_only to return None so it can utilize the
    environment
  * Add --timeout-disable-debugger-detection flag

  * Dropped support for Python 2, minimum pytest version upported is 5.0.0.
 * Fix deprecation warning on Python 3.6.

OBS-URL: https://build.opensuse.org/request/show/1124096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=14
2023-11-08 21:17:14 +00:00
26b5b24344 - update to 2.2.0:
* Update _validate_func_only to return None so it can utilize the
    environment
  * Add --timeout-disable-debugger-detection flag
  * Dropped support for Python 2, minimum pytest version upported is 5.0.0.
 * Fix deprecation warning on Python 3.6.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=22
2023-11-07 20:14:51 +00:00
a22af57ba9 Accepting request 1082426 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1082426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=13
2023-04-25 14:53:25 +00:00
e11dee1e77 Accepting request 1082420 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1082420
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=20
2023-04-24 09:14:09 +00:00
fe6c832acf Accepting request 999928 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/999928
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=12
2022-08-30 12:48:28 +00:00
1d1f32a723 Accepting request 998243 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 2.1.0
  * Get terminal width from shutil instead of deprecated py, thanks
    Andrew Svetlov.
  * Add an API for extending ``pytest-timeout`` functionality
    with third-party plugins, thanks Andrew Svetlov.
- Don't test with pytest-cov in Staging: Put Ring1 on coverage diet

OBS-URL: https://build.opensuse.org/request/show/998243
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=18
2022-08-29 11:24:16 +00:00
8fa455db4e Accepting request 944139 from devel:languages:python:pytest
- Update to 2.0.2:
  * Fix debugger detection on OSX, thanks Alexander Pacha.
  * Fix Python 2 removal, thanks Nicusor Picatureanu.
  * Increase pytest requirement to >=5.0.0. Thanks Dominic Davis-Foster.
  * Use thread timeout method when plugin is not called from main thread
    to avoid crash.
  * Fix pycharm debugger detection so timeouts are not triggered during
    debugger usage.
  * Dropped support for Python 2, minimum pytest version upported is 5.0.0.

OBS-URL: https://build.opensuse.org/request/show/944139
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=11
2022-01-07 11:45:17 +00:00
c143ac4573 - Update to 2.0.2:
* Fix debugger detection on OSX, thanks Alexander Pacha.
  * Fix Python 2 removal, thanks Nicusor Picatureanu.
  * Increase pytest requirement to >=5.0.0. Thanks Dominic Davis-Foster.
  * Use thread timeout method when plugin is not called from main thread
    to avoid crash.
  * Fix pycharm debugger detection so timeouts are not triggered during
    debugger usage.
  * Dropped support for Python 2, minimum pytest version upported is 5.0.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=17
2022-01-06 01:40:39 +00:00
93d9513798 Accepting request 846349 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/846349
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=10
2020-11-09 12:56:22 +00:00
1ba97f861d Accepting request 846262 from home:mmachova:branches:devel:languages:python:pytest
- Update to 1.4.2
  * Fix is_debugging function

OBS-URL: https://build.opensuse.org/request/show/846262
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=15
2020-11-05 21:36:16 +00:00
761354adb0 Accepting request 817717 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/817717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=9
2020-06-30 19:54:38 +00:00
Tomáš Chvátal
7db8766081 Accepting request 817707 from home:mcalabkova:branches:devel:languages:python:pytest
- Update to 1.4.1
  * Better detection of when we are debugging, thanks Mattwmaster58.

OBS-URL: https://build.opensuse.org/request/show/817707
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=13
2020-06-29 12:33:26 +00:00
1c8189b60c Accepting request 762083 from devel:languages:python:pytest
- Update to 1.3.4:
  * upstream moved to github
  * support newer pytest releases
- Drop merged patch pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/762083
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=8
2020-01-16 17:13:50 +00:00
Tomáš Chvátal
104988c2bf OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=11 2020-01-09 08:36:21 +00:00
Tomáš Chvátal
7c5414c2aa - Update to 1.3.4:
* upstream moved to github
  * support newer pytest releases
- Drop merged patch pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=10
2020-01-09 08:35:22 +00:00
588aa00958 Accepting request 674165 from devel:languages:python:pytest
- Fix build with pytest4 from upstream:
  * pytest4.patch

OBS-URL: https://build.opensuse.org/request/show/674165
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=7
2019-02-13 09:07:38 +00:00
Tomáš Chvátal
42796e60f4 - Fix build with pytest4 from upstream:
* pytest4.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=8
2019-02-12 15:46:13 +00:00
18b2687726 Accepting request 650719 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/650719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=6
2018-11-22 12:26:45 +00:00
Tomáš Chvátal
3b0eb5d150 Accepting request 650718 from home:SchoolGuy:branches:devel:languages:python:backports
- Version update to 1.3.3
 * Fix support for pytest >= 3.10.

OBS-URL: https://build.opensuse.org/request/show/650718
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=6
2018-11-21 14:37:12 +00:00
502c589693 Accepting request 636615 from devel:languages:python:pytest
- version update to 1.3.2
 * Fix deprecation warning on Python 3.6. 
 * Fix pytest 3.7.3 compatibility. (forwarded request 636613 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/636615
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=5
2018-09-20 09:42:23 +00:00
02ff15d089 Accepting request 636613 from home:mimi_vx:branches:devel:languages:python:pytest
- version update to 1.3.2
 * Fix deprecation warning on Python 3.6. 
 * Fix pytest 3.7.3 compatibility.

OBS-URL: https://build.opensuse.org/request/show/636613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-timeout?expand=0&rev=4
2018-09-19 10:01:48 +00:00
fa368d645e Accepting request 623445 from devel:languages:python:pytest
- Version update to 1.3.0:
  * Fixes for python3.7
  * Various small fixes

OBS-URL: https://build.opensuse.org/request/show/623445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=4
2018-07-18 20:55:47 +00:00
193190a8d4 Accepting request 554733 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/554733
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=3
2017-12-08 11:58:27 +00:00
b8714e5150 Accepting request 521760 from devel:languages:python
1

OBS-URL: https://build.opensuse.org/request/show/521760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=2
2017-09-26 19:14:18 +00:00
2365f88f2d Accepting request 519238 from devel:languages:python
Needed by the latest version of spyder and spyder3

OBS-URL: https://build.opensuse.org/request/show/519238
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=1
2017-08-29 09:46:53 +00:00
4 changed files with 14 additions and 7 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,10 @@
-------------------------------------------------------------------
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> Wed May 7 06:59:42 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-timeout # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -19,12 +19,12 @@
%bcond_with ringdisabled %bcond_with ringdisabled
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-timeout Name: python-pytest-timeout
Version: 2.3.1 Version: 2.4.0
Release: 0 Release: 0
Summary: Pytest plugin to abort hanging tests Summary: Pytest plugin to abort hanging tests
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-timeout/ 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 pip}
BuildRequires: %{python_module pytest >= 7.0.0} BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module setuptools} 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. stderr nevertheless, which is the most important part at this stage.
%prep %prep
%setup -q -n pytest-timeout-%{version} %setup -q -n pytest_timeout-%{version}
%build %build
%pyproject_wheel %pyproject_wheel