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
This commit is contained in:
commit
8fa455db4e
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76
|
||||
size 15424
|
3
pytest-timeout-2.0.2.tar.gz
Normal file
3
pytest-timeout-2.0.2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e6f98b54dafde8d70e4088467ff621260b641eb64895c4195b6e5c8f45638112
|
||||
size 16683
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jan 6 01:39:29 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- 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.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 5 14:37:31 UTC 2020 - Marketa Machova <mmachova@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-pytest-timeout
|
||||
#
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,20 +17,21 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-pytest-timeout
|
||||
Version: 1.4.2
|
||||
Version: 2.0.2
|
||||
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 pexpect}
|
||||
BuildRequires: %{python_module pytest >= 3.6.0}
|
||||
BuildRequires: %{python_module pytest >= 5.0.0}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 3.6.0
|
||||
Requires: python-pytest >= 5.0.0
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user