From c143ac4573ca6cd2617b77dd89af8008233b93bdd67428a282d9701aeec0b52b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 6 Jan 2022 01:40:39 +0000 Subject: [PATCH] - 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 --- pytest-timeout-1.4.2.tar.gz | 3 --- pytest-timeout-2.0.2.tar.gz | 3 +++ python-pytest-timeout.changes | 13 +++++++++++++ python-pytest-timeout.spec | 9 +++++---- 4 files changed, 21 insertions(+), 7 deletions(-) delete mode 100644 pytest-timeout-1.4.2.tar.gz create mode 100644 pytest-timeout-2.0.2.tar.gz diff --git a/pytest-timeout-1.4.2.tar.gz b/pytest-timeout-1.4.2.tar.gz deleted file mode 100644 index 7327c32..0000000 --- a/pytest-timeout-1.4.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:20b3113cf6e4e80ce2d403b6fb56e9e1b871b510259206d40ff8d609f48bda76 -size 15424 diff --git a/pytest-timeout-2.0.2.tar.gz b/pytest-timeout-2.0.2.tar.gz new file mode 100644 index 0000000..83299a8 --- /dev/null +++ b/pytest-timeout-2.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e6f98b54dafde8d70e4088467ff621260b641eb64895c4195b6e5c8f45638112 +size 16683 diff --git a/python-pytest-timeout.changes b/python-pytest-timeout.changes index 68948ef..454f9b4 100644 --- a/python-pytest-timeout.changes +++ b/python-pytest-timeout.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Jan 6 01:39:29 UTC 2022 - Steve Kowalik + +- 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 diff --git a/python-pytest-timeout.spec b/python-pytest-timeout.spec index 6bd330c..8a64804 100644 --- a/python-pytest-timeout.spec +++ b/python-pytest-timeout.spec @@ -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