Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-domdf-python-tools"

Mon Sep 28 10:35:21 2026 rev:5 rq:1379924 version:3.10.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-domdf-python-tools/python-domdf-python-tools.changes
      2025-09-17 16:37:25.145598594 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-domdf-python-tools.new.383539/python-domdf-python-tools.changes
  2026-09-28 10:36:16.794387424 +0200
@@ -1,0 +2,5 @@
+Wed Sep 23 08:35:24 UTC 2026 - Markéta Machová <[email protected]>
+
+- Add upstream pytest91.patch to fix tests with pytest 9.1
+
+-------------------------------------------------------------------

New:
----
  pytest91.patch

----------(New B)----------
  New:
- Add upstream pytest91.patch to fix tests with pytest 9.1
----------(New E)----------

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

Other differences:
------------------
++++++ python-domdf-python-tools.spec ++++++
--- /var/tmp/diff_new_pack.LvqZ0O/_old  2026-09-28 10:36:17.464415509 +0200
+++ /var/tmp/diff_new_pack.LvqZ0O/_new  2026-09-28 10:36:17.465415551 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-domdf-python-tools
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 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
@@ -33,8 +33,10 @@
 URL:            https://github.com/domdfcoding/domdf_python_tools
 Source:         
https://github.com/domdfcoding/domdf_python_tools/archive/refs/tags/v%{version}.tar.gz#/domdf_python_tools-%{version}.tar.gz
 # PATCH-FIX-UPSTREAM 
https://github.com/domdfcoding/domdf_python_tools/pull/137 Fix Python 3.14 test 
failures
-# with one more fix from me (in the comments)
+# with one more fix (in the comments)
 Patch0:         py314.patch
+# https://github.com/domdfcoding/domdf_python_tools/pull/151 Don't 
parameterize tests using non-Collection iterables
+Patch1:         pytest91.patch
 BuildRequires:  %{python_module hatch-requirements-txt}
 BuildRequires:  %{python_module pip}
 BuildRequires:  python-rpm-macros

++++++ pytest91.patch ++++++
>From 568c6a056fe6956f59006030364ed82c225d6279 Mon Sep 17 00:00:00 2001
From: Colin Watson <[email protected]>
Date: Wed, 8 Jul 2026 15:33:49 +0100
Subject: [PATCH] Don't parameterize tests using non-Collection iterables
 (#151)

This is deprecated as of pytest 9.1; see
https://docs.pytest.org/en/stable/deprecations.html#class-scoped-fixture-as-instance-method.
---
 tests/test_dates.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: domdf_python_tools-3.10.0/tests/test_dates.py
===================================================================
--- domdf_python_tools-3.10.0.orig/tests/test_dates.py
+++ domdf_python_tools-3.10.0/tests/test_dates.py
@@ -201,7 +201,7 @@ except ImportError:
 #                      from domdf_python_tools.dates import get_utc_offset
 
 
[email protected]("month_idx, month", enumerate(dates.month_full_names))
[email protected]("month_idx, month", 
list(enumerate(dates.month_full_names)))
 def test_parse_month(month_idx: int, month: str):
        month_idx += 1  # to make 1-indexed
 
@@ -219,7 +219,7 @@ def test_parse_month_errors():
                        dates.parse_month(value)  # type: ignore
 
 
[email protected]("month_idx, month", enumerate(dates.month_full_names))
[email protected]("month_idx, month", 
list(enumerate(dates.month_full_names)))
 def test_get_month_number_from_name(month_idx: int, month: str):
        month_idx += 1  # to make 1-indexed
 

Reply via email to