From c8f027425eda7bcddc1397858ac1b85e7d7df726d7789235548106a1f8625f3c Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Fri, 7 Jun 2024 11:57:26 +0000 Subject: [PATCH] Accepting request 1178984 from home:mcalabkova:branches:devel:languages:python:pytest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 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 --- pytest-xdist-3.5.0.tar.gz | 3 --- pytest_xdist-3.6.1.tar.gz | 3 +++ python-pytest-xdist.changes | 12 ++++++++++++ python-pytest-xdist.spec | 8 ++++---- 4 files changed, 19 insertions(+), 7 deletions(-) delete mode 100644 pytest-xdist-3.5.0.tar.gz create mode 100644 pytest_xdist-3.6.1.tar.gz diff --git a/pytest-xdist-3.5.0.tar.gz b/pytest-xdist-3.5.0.tar.gz deleted file mode 100644 index 2ba703c..0000000 --- a/pytest-xdist-3.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:cbb36f3d67e0c478baa57fa4edc8843887e0f6cfc42d677530a36d7472b32d8a -size 78977 diff --git a/pytest_xdist-3.6.1.tar.gz b/pytest_xdist-3.6.1.tar.gz new file mode 100644 index 0000000..0f1fd2f --- /dev/null +++ b/pytest_xdist-3.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d +size 84060 diff --git a/python-pytest-xdist.changes b/python-pytest-xdist.changes index 3850464..f1ae91a 100644 --- a/python-pytest-xdist.changes +++ b/python-pytest-xdist.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Thu Jun 6 09:35:35 UTC 2024 - Markéta Machová + +- 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 diff --git a/python-pytest-xdist.spec b/python-pytest-xdist.spec index 4ecb483..f165346 100644 --- a/python-pytest-xdist.spec +++ b/python-pytest-xdist.spec @@ -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