Accepting request 1084898 from devel:languages:python:pytest

- update to 0.21.0:
  * Drop compatibility with pytest 6.1. Pytest-asyncio now
    depends on pytest 7.0 or newer.
  * pytest-asyncio cleans up any stale event loops when setting
    up and tearing down the event_loop fixture.

OBS-URL: https://build.opensuse.org/request/show/1084898
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2023-05-09 11:06:27 +00:00 committed by Git OBS Bridge
commit 9a70025e21
4 changed files with 15 additions and 6 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:71167da362a2c1ab22a048463eb2954b7f15fba18d41eee6a3b9db03863a2580
size 27695

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ddef009a5623454a1256aed9d7d44b76922f3cb662164bf11b93bbe494d3f777
size 28675

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Thu May 4 22:36:44 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.21.0:
* Drop compatibility with pytest 6.1. Pytest-asyncio now
depends on pytest 7.0 or newer.
* pytest-asyncio cleans up any stale event loops when setting
up and tearing down the event_loop fixture.
-------------------------------------------------------------------
Fri Apr 21 12:31:26 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pytest-asyncio%{psuffix}
Version: 0.20.3
Version: 0.21.0
Release: 0
Summary: Pytest support for asyncio
License: Apache-2.0
@ -39,7 +39,7 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 6.1.0
Requires: python-pytest >= 7.0.0
%if 0%{?python_version_nodots} < 38
Requires: python-typing-extensions >= 3.7.2
%endif
@ -48,7 +48,7 @@ BuildArch: noarch
BuildRequires: %{python_module async_generator >= 1.3}
BuildRequires: %{python_module flaky >= 3.5.0}
BuildRequires: %{python_module hypothesis >= 5.7.1}
BuildRequires: %{python_module pytest >= 6.1.0}
BuildRequires: %{python_module pytest >= 7.0.0}
BuildRequires: %{python_module pytest-asyncio = %{version}}
BuildRequires: %{python_module pytest-trio >= 0.7}
%endif