Accepting request 1134208 from home:dgarcia:branches:devel:languages:python:Factory

- Fix tests with python 3.11.7
- Add patch fix-tests-python3117.patch gh#pytest-dev/pytest-mock#403

OBS-URL: https://build.opensuse.org/request/show/1134208
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-mock?expand=0&rev=40
This commit is contained in:
2023-12-20 12:44:07 +00:00
committed by Git OBS Bridge
parent 312a9e3b24
commit b1ce010d42
3 changed files with 52 additions and 0 deletions

View File

@@ -24,6 +24,8 @@ Summary: Thin-wrapper around the mock package for easier use with pytest
License: MIT
URL: https://github.com/pytest-dev/pytest-mock
Source: https://files.pythonhosted.org/packages/source/p/pytest-mock/pytest-mock-%{version}.tar.gz
# PATCH-FIX-UPSTREAM: fix-tests-python3117.patch gh#pytest-dev/pytest-mock#403
Patch0: fix-tests-python3117.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pytest >= 5}
BuildRequires: %{python_module pytest-asyncio}