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 2025-12-09 12:46:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-xdist (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-xdist.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-xdist"

Tue Dec  9 12:46:07 2025 rev:28 rq:1320319 version:3.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-xdist/python-pytest-xdist.changes  
2025-07-18 15:58:36.306658664 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-xdist.new.1939/python-pytest-xdist.changes
        2025-12-09 12:49:01.428566220 +0100
@@ -1,0 +2,6 @@
+Wed Nov 26 01:32:36 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-9.patch:
+  * Support Pytest 9 changes.
+
+-------------------------------------------------------------------

New:
----
  _scmsync.obsinfo
  build.specials.obscpio
  support-pytest-9.patch

----------(New B)----------
  New:
- Add patch support-pytest-9.patch:
  * Support Pytest 9 changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-xdist.spec ++++++
--- /var/tmp/diff_new_pack.bygybV/_old  2025-12-09 12:49:09.768918057 +0100
+++ /var/tmp/diff_new_pack.bygybV/_new  2025-12-09 12:49:09.768918057 +0100
@@ -24,6 +24,8 @@
 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
+# PATCH-FIX-UPSTREAM gh#pytest-dev/pytest-xdist#1266 & 
gh#pytest-dev/pytest-xdist#1272
+Patch0:         support-pytest-9.patch
 BuildRequires:  %{python_module base >= 3.7}
 BuildRequires:  %{python_module execnet >= 1.1}
 BuildRequires:  %{python_module filelock}
@@ -83,5 +85,5 @@
 %doc CHANGELOG.rst README.rst
 %license LICENSE
 %{python_sitelib}/xdist
-%{python_sitelib}/pytest_xdist-%{version}*-info
+%{python_sitelib}/pytest_xdist-%{version}.dist-info
 

++++++ _scmsync.obsinfo ++++++
mtime: 1764120786
commit: 2888bac4f493432fe371ca2caeaa694b2f43031b831c3933ea2d755929a3a463
url: https://src.opensuse.org/python-pytest/python-pytest-xdist.git
revision: 2888bac4f493432fe371ca2caeaa694b2f43031b831c3933ea2d755929a3a463
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git

++++++ 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      2025-11-26 08:42:08.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ support-pytest-9.patch ++++++
>From 9c0a03f70b7be0a9a7d4b7d3e1692b77027f323e Mon Sep 17 00:00:00 2001
From: Bruno Oliveira <[email protected]>
Date: Sat, 1 Nov 2025 20:10:43 -0300
Subject: [PATCH 1/2] Update build-and-inspect-python-package to v2.14

v2.13 was breaking in a few CI builds.
---
 .github/workflows/deploy.yml | 2 +-
 .github/workflows/test.yml   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Index: pytest_xdist-3.8.0/.github/workflows/deploy.yml
===================================================================
--- pytest_xdist-3.8.0.orig/.github/workflows/deploy.yml
+++ pytest_xdist-3.8.0/.github/workflows/deploy.yml
@@ -19,7 +19,7 @@ jobs:
     - uses: actions/checkout@v4
 
     - name: Build and Check Package
-      uses: hynek/[email protected]
+      uses: hynek/[email protected]
 
   deploy:
     needs: package
Index: pytest_xdist-3.8.0/.github/workflows/test.yml
===================================================================
--- pytest_xdist-3.8.0.orig/.github/workflows/test.yml
+++ pytest_xdist-3.8.0/.github/workflows/test.yml
@@ -22,7 +22,7 @@ jobs:
     steps:
     - uses: actions/checkout@v4
     - name: Build and Check Package
-      uses: hynek/[email protected]
+      uses: hynek/[email protected]
 
   test:
 
Index: pytest_xdist-3.8.0/testing/test_newhooks.py
===================================================================
--- pytest_xdist-3.8.0.orig/testing/test_newhooks.py
+++ pytest_xdist-3.8.0/testing/test_newhooks.py
@@ -115,7 +115,7 @@ class TestCrashItem:
         res.stdout.fnmatch_lines_random(["*HOOK: pytest_handlecrashitem"])
         res.stdout.fnmatch_lines(
             [
-                "FAILED test_handlecrashitem_one.py::test_b",
-                "FAILED test_handlecrashitem_one.py::test_b",
+                "FAILED test_handlecrashitem_one.py::test_b*",
+                "FAILED test_handlecrashitem_one.py::test_b*",
             ]
         )
Index: pytest_xdist-3.8.0/testing/test_remote.py
===================================================================
--- pytest_xdist-3.8.0.orig/testing/test_remote.py
+++ pytest_xdist-3.8.0/testing/test_remote.py
@@ -378,6 +378,11 @@ def test_remote_mainargv(pytester: pytes
 
 
 def test_remote_usage_prog(pytester: pytest.Pytester) -> None:
+    if pytest.version_tuple[:2] >= (9, 0):
+        get_optparser_expr = "get_config_parser.optparser"
+    else:
+        get_optparser_expr = "get_config_parser._getparser()"
+
     pytester.makeconftest(
         """
         import pytest
@@ -394,12 +399,12 @@ def test_remote_usage_prog(pytester: pyt
     """
     )
     pytester.makepyfile(
-        """
+        f"""
         import sys
 
         def test(get_config_parser, request):
-            get_config_parser._getparser().error("my_usage_error")
-    """
+            {get_optparser_expr}.error("my_usage_error")
+        """
     )
 
     result = pytester.runpytest_subprocess("-n1")

Reply via email to