Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-xdist for
openSUSE:Factory checked in at 2023-05-24 20:21:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-xdist (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-xdist.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-xdist"
Wed May 24 20:21:37 2023 rev:23 rq:1088464 version:3.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-xdist/python-pytest-xdist.changes
2023-05-19 11:55:44.083336425 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-xdist.new.1533/python-pytest-xdist.changes
2023-05-24 20:21:44.811959323 +0200
@@ -1,0 +2,12 @@
+Mon May 22 21:13:23 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 3.3.1:
+ * Avoid remote calls during startup as execnet by default does
+ not ensure remote affinity with the main thread and might
+ accidentally schedule the pytest worker into a non-main
+ thread, which breaks numerous frameworks, for example
+ ``asyncio``, ``anyio``, ``PyQt/PySide``, etc.
+ A more safe correction will require thread affinity in
+ ``execnet``
+
+-------------------------------------------------------------------
Old:
----
pytest-xdist-3.3.0.tar.gz
New:
----
pytest-xdist-3.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-xdist.spec ++++++
--- /var/tmp/diff_new_pack.j0LJ2d/_old 2023-05-24 20:21:45.335962447 +0200
+++ /var/tmp/diff_new_pack.j0LJ2d/_new 2023-05-24 20:21:45.343962495 +0200
@@ -19,7 +19,7 @@
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pytest-xdist
-Version: 3.3.0
+Version: 3.3.1
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT
++++++ pytest-xdist-3.3.0.tar.gz -> pytest-xdist-3.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-xdist-3.3.0/CHANGELOG.rst
new/pytest-xdist-3.3.1/CHANGELOG.rst
--- old/pytest-xdist-3.3.0/CHANGELOG.rst 2023-05-12 22:41:10.000000000
+0200
+++ new/pytest-xdist-3.3.1/CHANGELOG.rst 2023-05-19 12:51:31.000000000
+0200
@@ -1,3 +1,16 @@
+pytest-xdist 3.3.1 (2023-05-19)
+===============================
+
+Bug Fixes
+---------
+
+- `#907 <https://github.com/pytest-dev/pytest-xdist/issues/907>`_: Avoid
remote calls during startup as ``execnet`` by default does not ensure remote
affinity with the
+ main thread and might accidentally schedule the pytest worker into a
non-main thread, which breaks numerous frameworks,
+ for example ``asyncio``, ``anyio``, ``PyQt/PySide``, etc.
+
+ A more safe correction will require thread affinity in ``execnet``
(`pytest-dev/execnet#96 <https://github.com/pytest-dev/execnet/issues/96>`__).
+
+
pytest-xdist 3.3.0 (2023-05-12)
===============================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-xdist-3.3.0/PKG-INFO
new/pytest-xdist-3.3.1/PKG-INFO
--- old/pytest-xdist-3.3.0/PKG-INFO 2023-05-12 22:41:30.270263200 +0200
+++ new/pytest-xdist-3.3.1/PKG-INFO 2023-05-19 12:51:51.226486700 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-xdist
-Version: 3.3.0
+Version: 3.3.1
Summary: pytest xdist plugin for distributed testing, most importantly across
multiple CPUs
Home-page: https://github.com/pytest-dev/pytest-xdist
Author: holger krekel and contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-xdist-3.3.0/src/pytest_xdist.egg-info/PKG-INFO
new/pytest-xdist-3.3.1/src/pytest_xdist.egg-info/PKG-INFO
--- old/pytest-xdist-3.3.0/src/pytest_xdist.egg-info/PKG-INFO 2023-05-12
22:41:30.000000000 +0200
+++ new/pytest-xdist-3.3.1/src/pytest_xdist.egg-info/PKG-INFO 2023-05-19
12:51:51.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-xdist
-Version: 3.3.0
+Version: 3.3.1
Summary: pytest xdist plugin for distributed testing, most importantly across
multiple CPUs
Home-page: https://github.com/pytest-dev/pytest-xdist
Author: holger krekel and contributors
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-xdist-3.3.0/src/xdist/_version.py
new/pytest-xdist-3.3.1/src/xdist/_version.py
--- old/pytest-xdist-3.3.0/src/xdist/_version.py 2023-05-12
22:41:30.000000000 +0200
+++ new/pytest-xdist-3.3.1/src/xdist/_version.py 2023-05-19
12:51:51.000000000 +0200
@@ -1,4 +1,4 @@
# file generated by setuptools_scm
# don't change, don't track in version control
-__version__ = version = '3.3.0'
-__version_tuple__ = version_tuple = (3, 3, 0)
+__version__ = version = '3.3.1'
+__version_tuple__ = version_tuple = (3, 3, 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-xdist-3.3.0/src/xdist/dsession.py
new/pytest-xdist-3.3.1/src/xdist/dsession.py
--- old/pytest-xdist-3.3.0/src/xdist/dsession.py 2023-05-12
22:41:10.000000000 +0200
+++ new/pytest-xdist-3.3.1/src/xdist/dsession.py 2023-05-19
12:51:31.000000000 +0200
@@ -444,26 +444,25 @@
@pytest.hookimpl
def pytest_xdist_newgateway(self, gateway) -> None:
- rinfo = gateway._rinfo()
- is_local = rinfo.executable == sys.executable
- if self.config.option.verbose > 0 and not is_local:
- version = "%s.%s.%s" % rinfo.version_info[:3]
- self.rewrite(
- "[%s] %s Python %s cwd: %s"
- % (gateway.id, rinfo.platform, version, rinfo.cwd),
- newline=True,
- )
+ if self.config.option.verbose > 0:
+ rinfo = gateway._rinfo()
+ different_interpreter = rinfo.executable != sys.executable
+ if different_interpreter:
+ version = "%s.%s.%s" % rinfo.version_info[:3]
+ self.rewrite(
+ f"[{gateway.id}] {rinfo.platform} Python {version} cwd:
{rinfo.cwd}",
+ newline=True,
+ )
self.setstatus(gateway.spec, WorkerStatus.Initialized,
tests_collected=0)
@pytest.hookimpl
def pytest_testnodeready(self, node) -> None:
- d = node.workerinfo
- is_local = d.get("executable") == sys.executable
- if self.config.option.verbose > 0 and not is_local:
- infoline = "[{}] Python {}".format(
- d["id"], d["version"].replace("\n", " -- ")
- )
- self.rewrite(infoline, newline=True)
+ if self.config.option.verbose > 0:
+ d = node.workerinfo
+ different_interpreter = d.get("executable") != sys.executable
+ if different_interpreter:
+ version = d["version"].replace("\n", " -- ")
+ self.rewrite(f"[{d['id']}] Python {version}", newline=True)
self.setstatus(
node.gateway.spec, WorkerStatus.ReadyForCollection,
tests_collected=0
)