Accepting request 1178984 from home:mcalabkova:branches:devel:languages:python:pytest

- update to 3.6.1
  * pytest-xdist workers now always execute the tests in the main thread.
  * Added proper handling of shouldstop and shouldfail conditions in workers.
  * Fixed compatibility issue between looponfail and editable installs.
  * Use the new main_thread_only execnet “execmodel” so that code which 
    expects to only run in the main thread will now work as expected.
  * Add backward compatibility for deadlock issue with the execnet new 
    main_thread_only “execmodel” triggered when pytest-cov accesses rinfo.

OBS-URL: https://build.opensuse.org/request/show/1178984
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xdist?expand=0&rev=41
This commit is contained in:
Matej Cepl 2024-06-07 11:57:26 +00:00 committed by Git OBS Bridge
parent 9e5629ac71
commit c8f027425e
4 changed files with 19 additions and 7 deletions

BIN
pytest-xdist-3.5.0.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:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d
size 84060

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jun 6 09:35:35 UTC 2024 - Markéta Machová <mmachova@suse.com>
- update to 3.6.1
* pytest-xdist workers now always execute the tests in the main thread.
* Added proper handling of shouldstop and shouldfail conditions in workers.
* Fixed compatibility issue between looponfail and editable installs.
* Use the new main_thread_only execnet “execmodel” so that code which
expects to only run in the main thread will now work as expected.
* Add backward compatibility for deadlock issue with the execnet new
main_thread_only “execmodel” triggered when pytest-cov accesses rinfo.
-------------------------------------------------------------------
Mon Nov 27 20:03:15 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pytest-xdist
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-pytest-xdist
Version: 3.5.0
Version: 3.6.1
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT
URL: https://github.com/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest_xdist-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module execnet >= 1.1}
BuildRequires: %{python_module filelock}
@ -66,7 +66,7 @@ are reported back and displayed to your local terminal.
You may specify different Python versions and interpreters.
%prep
%autosetup -p1 -n pytest-xdist-%{version}
%autosetup -p1 -n pytest_xdist-%{version}
sed -i 's/\r//' README.rst
%build