Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-run-parallel for
openSUSE:Factory checked in at 2026-04-14 17:48:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-run-parallel (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-run-parallel.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-run-parallel"
Tue Apr 14 17:48:06 2026 rev:3 rq:1346234 version:0.8.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-run-parallel/python-pytest-run-parallel.changes
2026-01-06 17:43:02.713860313 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-run-parallel.new.21863/python-pytest-run-parallel.changes
2026-04-14 17:48:12.531265207 +0200
@@ -1,0 +2,6 @@
+Sun Apr 12 18:57:53 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 0.8.2:
+ * Reset warning filter during thread-unsafe detection
+
+-------------------------------------------------------------------
Old:
----
pytest_run_parallel-0.8.1.tar.gz
New:
----
pytest_run_parallel-0.8.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-run-parallel.spec ++++++
--- /var/tmp/diff_new_pack.5XXWRp/_old 2026-04-14 17:48:13.759315968 +0200
+++ /var/tmp/diff_new_pack.5XXWRp/_new 2026-04-14 17:48:13.763316133 +0200
@@ -17,7 +17,7 @@
Name: python-pytest-run-parallel
-Version: 0.8.1
+Version: 0.8.2
Release: 0
Summary: A simple pytest plugin to run tests concurrently
License: MIT
++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.5XXWRp/_old 2026-04-14 17:48:13.871320597 +0200
+++ /var/tmp/diff_new_pack.5XXWRp/_new 2026-04-14 17:48:13.879320928 +0200
@@ -1,6 +1,6 @@
-mtime: 1767583986
-commit: 9c7b40d19054bdd71ab6a41f64a9238de62ee1bd95a2829ec35220128119ad3d
+mtime: 1776020340
+commit: 907db5ab7529fcb8069b8676fe6ac47c68053d6ce959956b77a293d7bdd7de3a
url: https://src.opensuse.org/python-pytest/python-pytest-run-parallel.git
-revision: 9c7b40d19054bdd71ab6a41f64a9238de62ee1bd95a2829ec35220128119ad3d
+revision: 907db5ab7529fcb8069b8676fe6ac47c68053d6ce959956b77a293d7bdd7de3a
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
++++++ build.specials.obscpio ++++++
++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore 1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore 2026-04-12 20:59:24.000000000 +0200
@@ -0,0 +1 @@
+.osc
++++++ pytest_run_parallel-0.8.1.tar.gz -> pytest_run_parallel-0.8.2.tar.gz
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest_run_parallel-0.8.1/PKG-INFO
new/pytest_run_parallel-0.8.2/PKG-INFO
--- old/pytest_run_parallel-0.8.1/PKG-INFO 2025-12-23 17:21:04.152951700
+0100
+++ new/pytest_run_parallel-0.8.2/PKG-INFO 2026-01-14 10:55:15.889737000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: pytest-run-parallel
-Version: 0.8.1
+Version: 0.8.2
Summary: A simple pytest plugin to run tests concurrently
Author: Edgar Margffoy
Maintainer-email: Lysandros Nikolaou <[email protected]>, Nathan
Goldbaum <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest_run_parallel-0.8.1/pyproject.toml
new/pytest_run_parallel-0.8.2/pyproject.toml
--- old/pytest_run_parallel-0.8.1/pyproject.toml 2025-12-23
17:20:57.000000000 +0100
+++ new/pytest_run_parallel-0.8.2/pyproject.toml 2026-01-14
10:55:08.000000000 +0100
@@ -7,7 +7,7 @@
[project]
name = "pytest-run-parallel"
description = "A simple pytest plugin to run tests concurrently"
-version = "0.8.1"
+version = "0.8.2"
readme = "README.md"
requires-python = ">=3.9"
dependencies = [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest_run_parallel-0.8.1/src/pytest_run_parallel/thread_unsafe_detection.py
new/pytest_run_parallel-0.8.2/src/pytest_run_parallel/thread_unsafe_detection.py
---
old/pytest_run_parallel-0.8.1/src/pytest_run_parallel/thread_unsafe_detection.py
2025-12-23 17:20:57.000000000 +0100
+++
new/pytest_run_parallel-0.8.2/src/pytest_run_parallel/thread_unsafe_detection.py
2026-01-14 10:55:08.000000000 +0100
@@ -272,6 +272,27 @@
return is_indented
+def _visit_node(visitor, fn):
+ try:
+ src = inspect.getsource(fn)
+ except (OSError, TypeError):
+ # if we can't get the source code (e.g. builtin function) then give up
+ # and don't attempt detection but default to assuming thread safety
+ return False, None
+ if _is_source_indented(src):
+ # This test was extracted from a class or indented area, and Python
+ # needs to be told to expect indentation.
+ src = "if True:\n" + src
+ try:
+ tree = ast.parse(src)
+ except (SyntaxError, ValueError):
+ # AST parsing failed because the AST is invalid. Who knows why but that
+ # means we can't run thread safety detection. Bail and assume
+ # thread-safe.
+ return False, None
+ visitor.visit(tree)
+
+
def _identify_thread_unsafe_nodes(
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis, level=0
):
@@ -294,24 +315,10 @@
visitor = ThreadUnsafeNodeVisitor(
fn, skip_set, unsafe_warnings, unsafe_ctypes, unsafe_hypothesis,
level=level
)
- try:
- src = inspect.getsource(fn)
- except (OSError, TypeError):
- # if we can't get the source code (e.g. builtin function)
- # then give up and don't attempt detection but default to assuming
- # thread safety
- return False, None
- if _is_source_indented(src):
- # This test was extracted from a class or indented area, and
Python needs
- # to be told to expect indentation.
- src = "if True:\n" + src
- try:
- tree = ast.parse(src)
- except (SyntaxError, ValueError):
- # AST parsing failed because the AST is invalid. Who knows why but
that means
- # we can't run thread safety detection. Bail and assume
thread-safe.
- return False, None
- visitor.visit(tree)
+ with warnings.catch_warnings():
+ # in case pytest is configured to treat warnings as errors.
+ warnings.simplefilter("default")
+ _visit_node(visitor, fn)
except Exception as e:
tb = traceback.format_exc()
msg = (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest_run_parallel-0.8.1/src/pytest_run_parallel.egg-info/PKG-INFO
new/pytest_run_parallel-0.8.2/src/pytest_run_parallel.egg-info/PKG-INFO
--- old/pytest_run_parallel-0.8.1/src/pytest_run_parallel.egg-info/PKG-INFO
2025-12-23 17:21:04.000000000 +0100
+++ new/pytest_run_parallel-0.8.2/src/pytest_run_parallel.egg-info/PKG-INFO
2026-01-14 10:55:15.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.4
Name: pytest-run-parallel
-Version: 0.8.1
+Version: 0.8.2
Summary: A simple pytest plugin to run tests concurrently
Author: Edgar Margffoy
Maintainer-email: Lysandros Nikolaou <[email protected]>, Nathan
Goldbaum <[email protected]>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest_run_parallel-0.8.1/uv.lock
new/pytest_run_parallel-0.8.2/uv.lock
--- old/pytest_run_parallel-0.8.1/uv.lock 2025-12-23 17:20:57.000000000
+0100
+++ new/pytest_run_parallel-0.8.2/uv.lock 2026-01-14 10:55:08.000000000
+0100
@@ -486,7 +486,7 @@
[[package]]
name = "pytest-run-parallel"
-version = "0.8.1"
+version = "0.8.2"
source = { editable = "." }
dependencies = [
{ name = "pytest" },