Sync from SUSE:SLFO:Main python-pytest-xdist revision cc337ed45a381f5a13f80d6cb3b63371

This commit is contained in:
Adrian Schröter 2024-12-13 12:14:05 +01:00
parent 812de1a711
commit 89664d88f1
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.

BIN
pytest_xdist-3.6.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

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