Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-boltons for openSUSE:Factory 
checked in at 2025-12-16 15:53:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-boltons (Old)
 and      /work/SRC/openSUSE:Factory/.python-boltons.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-boltons"

Tue Dec 16 15:53:06 2025 rev:15 rq:1322887 version:25.0.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-boltons/python-boltons.changes    
2025-02-21 21:38:10.744763889 +0100
+++ /work/SRC/openSUSE:Factory/.python-boltons.new.1939/python-boltons.changes  
2025-12-16 15:59:47.631788210 +0100
@@ -1,0 +2,6 @@
+Mon Dec 15 03:45:13 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-9.patch:
+  * Use shiny new pathlib arguments for the collection hooks.
+
+-------------------------------------------------------------------

New:
----
  support-pytest-9.patch

----------(New B)----------
  New:
- Add patch support-pytest-9.patch:
  * Use shiny new pathlib arguments for the collection hooks.
----------(New E)----------

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

Other differences:
------------------
++++++ python-boltons.spec ++++++
--- /var/tmp/diff_new_pack.nNY24f/_old  2025-12-16 15:59:48.735834544 +0100
+++ /var/tmp/diff_new_pack.nNY24f/_new  2025-12-16 15:59:48.739834712 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-boltons
 #
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -24,10 +24,11 @@
 License:        BSD-3-Clause
 URL:            https://github.com/mahmoud/boltons
 Source:         
https://files.pythonhosted.org/packages/source/b/boltons/boltons-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#mahmoud/boltons#391
+Patch0:         support-pytest-9.patch
 BuildRequires:  %{python_module flit-core}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 BuildArch:      noarch

++++++ support-pytest-9.patch ++++++
>From 5bf0e99182fc910f641a0849fa209940d68bce32 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Mon, 15 Dec 2025 14:38:06 +1100
Subject: [PATCH] Support pytest 9 changes

Starting from pytest 7, the py.path arguments to pytest's hook functions
have been deprecated, replaced with pathlib.Path equivalents. Since
pytest 7 is the minimum version we support, move to using it.
---
 tests/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/conftest.py b/tests/conftest.py
index d4d2192c..e2c9a0cf 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -5,12 +5,12 @@
 _VERSION_MARKER = re.compile(r'_py(?P<major_version>\d)(?P<minor_version>\d)?')
 
 
-def pytest_ignore_collect(path, config):
+def pytest_ignore_collect(collection_path, config):
     """
     Ignore tests that end with _pyX, where X does not equal this
     interpreter's major version.
     """
-    filename = path.basename
+    filename = collection_path.name
     modulename = filename.split('.', 1)[0]
     match = _VERSION_MARKER.search(modulename)
     if not match:

Reply via email to