- Add pytest72.patch to make it compatible with pytest 7.2.0

gh#aio-libs/pytest-aiohttp#49

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-aiohttp?expand=0&rev=8
This commit is contained in:
2022-11-30 07:22:06 +00:00
committed by Git OBS Bridge
parent 0d3d97d476
commit e730680f6b
3 changed files with 44 additions and 3 deletions

View File

@@ -25,11 +25,13 @@ License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/aio-libs/pytest-aiohttp
Source: https://files.pythonhosted.org/packages/source/p/pytest-aiohttp/pytest-aiohttp-%{version}.tar.gz
# PATCH-FIX-UPSTREAM pytest72.patch gh#aio-libs/pytest-aiohttp#49
Patch0: pytest72.patch
BuildRequires: %{python_module aiohttp >= 3.8.1}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest >= 6.1.0}
BuildRequires: %{python_module pytest-asyncio >= 0.17.2}
BuildRequires: %{python_module pytest-asyncio >= 0.20.2}
BuildRequires: %{python_module setuptools_scm >= 6.2}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -37,7 +39,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp >= 3.8.1
Requires: python-pytest >= 6.1.0
Requires: python-pytest-asyncio >= 0.17.2
Requires: python-pytest-asyncio >= 0.20.2
BuildArch: noarch
%python_subpackages
@@ -45,7 +47,7 @@ BuildArch: noarch
A library that provides fixtures for creation test aiohttp server and client.
%prep
%setup -q -n %{pyname}-%{version}
%autosetup -p1 -n %{pyname}-%{version}
%build
%pyproject_wheel