- 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
This commit is contained in:
Dirk Mueller 2024-03-16 13:03:24 +00:00 committed by Git OBS Bridge
parent 26b5b24344
commit ec40c68af5
4 changed files with 22 additions and 7 deletions

View File

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

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

Binary file not shown.

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
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> Tue Nov 7 20:11:16 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-timeout # 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 # 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,17 +19,17 @@
%bcond_with ringdisabled %bcond_with ringdisabled
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-timeout Name: python-pytest-timeout
Version: 2.2.0 Version: 2.3.1
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 pytest >= 5.0.0} BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest >= 5.0.0 Requires: python-pytest >= 7.0.0
# SECTION test # SECTION test
%if !%{with ringdisabled} %if !%{with ringdisabled}
BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-cov}