Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-shippinglabel for 
openSUSE:Factory checked in at 2026-09-28 10:36:22
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-shippinglabel (Old)
 and      /work/SRC/openSUSE:Factory/.python-shippinglabel.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-shippinglabel"

Mon Sep 28 10:36:22 2026 rev:5 rq:1380060 version:2.3.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-shippinglabel/python-shippinglabel.changes    
    2026-03-27 06:49:06.772997002 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-shippinglabel.new.383539/python-shippinglabel.changes
    2026-09-28 10:37:00.729228989 +0200
@@ -1,0 +2,6 @@
+Thu Sep 24 04:06:23 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-91.patch:
+  * Use a classmethod decorator to support pytest 9.1.
+
+-------------------------------------------------------------------

New:
----
  support-pytest-91.patch

----------(New B)----------
  New:
- Add patch support-pytest-91.patch:
  * Use a classmethod decorator to support pytest 9.1.
----------(New E)----------

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

Other differences:
------------------
++++++ python-shippinglabel.spec ++++++
--- /var/tmp/diff_new_pack.n4rRP0/_old  2026-09-28 10:37:01.340254601 +0200
+++ /var/tmp/diff_new_pack.n4rRP0/_new  2026-09-28 10:37:01.342254685 +0200
@@ -32,6 +32,8 @@
 License:        MIT
 URL:            https://github.com/domdfcoding/shippinglabel
 Source:         
https://github.com/domdfcoding/shippinglabel/archive/refs/tags/v%{version}.tar.gz#/shippinglabel-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#domdfcoding/shippinglabel#117
+Patch0:         support-pytest-91.patch
 BuildRequires:  %{python_module hatch-requirements-txt}
 BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}

++++++ support-pytest-91.patch ++++++
>From b144a3128457a91b902a00b8bf1f05bf4d3e93c1 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Thu, 24 Sep 2026 12:59:31 +1000
Subject: [PATCH] Support pytest 9.1

The issue reported at[1] is actually a red herring, and the real cause
of the failure with pytest 9.1 is documented here[2]. Use a classmethod
decorator.

This reverts commit 63a9ad1cc2998c3961e49e6b752940077fac70c5.

1: https://github.com/pytest-dev/pytest/issues/14800
2: 
https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method
---
 tests/requirements.txt     | 2 +-
 tests/test_requirements.py | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

Index: shippinglabel-2.3.0/tests/test_requirements.py
===================================================================
--- shippinglabel-2.3.0.orig/tests/test_requirements.py
+++ shippinglabel-2.3.0/tests/test_requirements.py
@@ -27,7 +27,8 @@ from shippinglabel.requirements import (
 class TestComparableRequirement:
 
        @pytest.fixture(scope="class")
-       def req(self) -> ComparableRequirement:
+       @classmethod
+       def req(cls) -> ComparableRequirement:
                return ComparableRequirement('pytest==6.0.0; python_version <= 
"3.9"')
 
        @pytest.mark.parametrize(

Reply via email to