forked from pool/python-pytest-asyncio
Accepting request 1154291 from home:bnavigator:branches:devel:languages:python:numeric
- Update to 0.23.5 * Declare compatibility with pytest 8 #737 * Fix typing errors with recent versions of mypy #769 * Prevent DeprecationWarning about internal use of asyncio.get_event_loop() from affecting test cases #757 ## Known issues * As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see #706). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved. - Release 0.23.4 * pytest-asyncio no longer imports additional, unrelated packages during test collection #729 * Addresses further issues that caused an internal pytest error during test collection * Declares incompatibility with pytest 8 #737 OBS-URL: https://build.opensuse.org/request/show/1154291 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=38
This commit is contained in:
parent
bd5ea91799
commit
a237baeb44
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c6d3ff22ea5ef19845a411898d8acf00459b2718228d53e04fe2fa8541c78cb2
|
||||
size 42685
|
3
pytest-asyncio-0.23.5.tar.gz
Normal file
3
pytest-asyncio-0.23.5.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ed4e3123911d0b2682bc5b212e72e1f7441c7f09d280d9aa5d8c62459096ac57
|
||||
size 43649
|
@ -1,3 +1,31 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 2 11:29:53 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.23.5
|
||||
* Declare compatibility with pytest 8 #737
|
||||
* Fix typing errors with recent versions of mypy #769
|
||||
* Prevent DeprecationWarning about internal use of
|
||||
asyncio.get_event_loop() from affecting test cases #757
|
||||
## Known issues
|
||||
* As of v0.23, pytest-asyncio attaches an asyncio event loop to
|
||||
each item of the test suite (i.e. session, packages, modules,
|
||||
classes, functions) and allows tests to be run in those loops
|
||||
when marked accordingly. Pytest-asyncio currently assumes that
|
||||
async fixture scope is correlated with the new event loop
|
||||
scope. This prevents fixtures from being evaluated
|
||||
independently from the event loop scope and breaks some
|
||||
existing test suites (see #706). For example, a test suite may
|
||||
require all fixtures and tests to run in the same event loop,
|
||||
but have async fixtures that are set up and torn down for each
|
||||
module. If you're affected by this issue, please continue using
|
||||
the v0.21 release, until it is resolved.
|
||||
- Release 0.23.4
|
||||
* pytest-asyncio no longer imports additional, unrelated packages
|
||||
during test collection #729
|
||||
* Addresses further issues that caused an internal pytest error
|
||||
during test collection
|
||||
* Declares incompatibility with pytest 8 #737
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 2 12:01:57 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-pytest-asyncio
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
@ -26,7 +26,7 @@
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-asyncio%{psuffix}
|
||||
Version: 0.23.3
|
||||
Version: 0.23.5
|
||||
Release: 0
|
||||
Summary: Pytest support for asyncio
|
||||
License: Apache-2.0
|
||||
@ -39,14 +39,14 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 7.0.0
|
||||
Requires: (python-pytest >= 7.0.0 with python-pytest < 9)
|
||||
%if 0%{?python_version_nodots} < 38
|
||||
Requires: python-typing-extensions >= 3.7.2
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module hypothesis >= 5.7.1}
|
||||
BuildRequires: %{python_module pytest >= 7.0.0}
|
||||
BuildRequires: %{python_module pytest >= 7.0.0 with %python-pytest < 9}
|
||||
BuildRequires: %{python_module pytest-asyncio = %{version}}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
Loading…
x
Reference in New Issue
Block a user