Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-docopt-ng for
openSUSE:Factory checked in at 2025-12-16 15:53:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-docopt-ng (Old)
and /work/SRC/openSUSE:Factory/.python-docopt-ng.new.1939 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-docopt-ng"
Tue Dec 16 15:53:11 2025 rev:2 rq:1322890 version:0.9.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-docopt-ng/python-docopt-ng.changes
2024-09-17 18:19:26.922119030 +0200
+++
/work/SRC/openSUSE:Factory/.python-docopt-ng.new.1939/python-docopt-ng.changes
2025-12-16 15:59:51.739960619 +0100
@@ -1,0 +2,6 @@
+Mon Dec 15 04:28:57 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Add patch support-pytest-9.patch:
+ * Remove py.path argument from the collection hook functions.
+
+-------------------------------------------------------------------
New:
----
support-pytest-9.patch
----------(New B)----------
New:
- Add patch support-pytest-9.patch:
* Remove py.path argument from the collection hook functions.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-docopt-ng.spec ++++++
--- /var/tmp/diff_new_pack.nVTdtN/_old 2025-12-16 15:59:55.188105328 +0100
+++ /var/tmp/diff_new_pack.nVTdtN/_new 2025-12-16 15:59:55.188105328 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-docopt-ng
#
-# Copyright (c) 2024 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
@@ -23,6 +23,8 @@
License: MIT
URL: https://github.com/jazzband/docopt-ng
Source:
https://files.pythonhosted.org/packages/source/d/docopt-ng/docopt_ng-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM gh#jazzband/docopt-ng#66
+Patch0: support-pytest-9.patch
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pdm-backend}
BuildRequires: %{python_module pip}
++++++ support-pytest-9.patch ++++++
>From 9bf47de6ccc3f98de1e7ca1675a34e5331ccaf33 Mon Sep 17 00:00:00 2001
From: Daniel Mizyrycki <[email protected]>
Date: Wed, 22 May 2024 23:38:21 -0700
Subject: [PATCH] Fix PytestRemovedIn9Warning
---
tests/conftest.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/conftest.py b/tests/conftest.py
index 43c2dfc..c6eba51 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -10,7 +10,7 @@
import docopt
-def pytest_collect_file(file_path: Path, path, parent):
+def pytest_collect_file(file_path: Path, parent):
if file_path.suffix == ".docopt" and file_path.stem.startswith("test"):
return DocoptTestFile.from_parent(path=file_path, parent=parent)