forked from pool/python-pytest-asyncio
Accepting request 1206345 from home:mcalabkova:branches:devel:languages:python
- Update to 0.24.0
* BREAKING: Updated minimum supported pytest version to v8.2.0
* Adds an optional loop_scope keyword argument to pytest.mark.asyncio.
* Deprecates the optional scope keyword argument to pytest.mark.asyncio
for API consistency with pytest_asyncio.fixture.
* Fixes a bug that caused module-scoped async fixtures to fail when
reused in other modules
* Fixes a bug that caused duplicate markers in async tests
* Declare support for Python 3.13
- Drop merged duplicated-markers.patch
OBS-URL: https://build.opensuse.org/request/show/1206345
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=48
This commit is contained in:
@@ -26,14 +26,12 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-asyncio%{psuffix}
|
||||
Version: 0.23.7
|
||||
Version: 0.24.0
|
||||
Release: 0
|
||||
Summary: Pytest support for asyncio
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/pytest-dev/pytest-asyncio
|
||||
Source: https://github.com/pytest-dev/pytest-asyncio/archive/v%{version}.tar.gz#/pytest-asyncio-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/pytest-dev/pytest-asyncio/pull/838 Fix duplication of markers in async tests
|
||||
Patch: duplicated-markers.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
@@ -41,14 +39,10 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: (python-pytest >= 7.0.0 with python-pytest < 9)
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing-extensions >= 3.7.2
|
||||
%endif
|
||||
Requires: (python-pytest >= 8.2.0 with python-pytest < 9)
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module hypothesis >= 5.7.1}
|
||||
BuildRequires: %{python_module pytest >= 7.0.0 with %python-pytest < 9}
|
||||
BuildRequires: %{python_module pytest-asyncio = %{version}}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
Reference in New Issue
Block a user