Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| 9131671449 | |||
| df748e2a79 |
@@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Dec 15 04:28:57 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
- Add patch support-pytest-9.patch:
|
||||||
|
* Remove py.path argument from the collection hook functions.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Sep 17 03:50:05 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
Tue Sep 17 03:50:05 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-docopt-ng
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -23,6 +23,8 @@ Summary: Humane command line arguments parser
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/jazzband/docopt-ng
|
URL: https://github.com/jazzband/docopt-ng
|
||||||
Source: https://files.pythonhosted.org/packages/source/d/docopt-ng/docopt_ng-%{version}.tar.gz
|
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 base >= 3.7}
|
||||||
BuildRequires: %{python_module pdm-backend}
|
BuildRequires: %{python_module pdm-backend}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
|||||||
22
support-pytest-9.patch
Normal file
22
support-pytest-9.patch
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
From 9bf47de6ccc3f98de1e7ca1675a34e5331ccaf33 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Daniel Mizyrycki <mzdaniel@glidelink.net>
|
||||||
|
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)
|
||||||
|
|
||||||
Reference in New Issue
Block a user