- Add patch stop-using-imp.patch:

* Use importlib and not imp.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=24
This commit is contained in:
2024-01-24 04:48:58 +00:00
committed by Git OBS Bridge
parent e3e23cea9f
commit 62a2e771c9
3 changed files with 46 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-shutil
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,9 @@ License: MIT
URL: https://github.com/manahl/pytest-plugins
Source: https://files.pythonhosted.org/packages/source/p/pytest-shutil/pytest-shutil-%{version}.tar.gz
# PATCH-FEATURE-UPSTREAM pytest-fixtures-pr171-remove-mock.patch -- gh#man-group#pytest-plugins#171
Patch1: pytest-fixtures-pr171-remove-mock.patch
Patch0: pytest-fixtures-pr171-remove-mock.patch
# PATCH-FIX-UPSTREAM gh#man-group/pytest-plugins#219
Patch1: stop-using-imp.patch
BuildRequires: %{python_module execnet}
BuildRequires: %{python_module path}
BuildRequires: %{python_module pytest}