diff --git a/pytest-asyncio-0.23.3.tar.gz b/pytest-asyncio-0.23.3.tar.gz deleted file mode 100644 index cdf3145..0000000 --- a/pytest-asyncio-0.23.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c6d3ff22ea5ef19845a411898d8acf00459b2718228d53e04fe2fa8541c78cb2 -size 42685 diff --git a/pytest-asyncio-0.23.5.tar.gz b/pytest-asyncio-0.23.5.tar.gz new file mode 100644 index 0000000..95ca739 --- /dev/null +++ b/pytest-asyncio-0.23.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ed4e3123911d0b2682bc5b212e72e1f7441c7f09d280d9aa5d8c62459096ac57 +size 43649 diff --git a/python-pytest-asyncio.changes b/python-pytest-asyncio.changes index 05bc87e..c5c163f 100644 --- a/python-pytest-asyncio.changes +++ b/python-pytest-asyncio.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Sat Mar 2 11:29:53 UTC 2024 - Ben Greiner + +- 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 diff --git a/python-pytest-asyncio.spec b/python-pytest-asyncio.spec index 3113d87..c4c498d 100644 --- a/python-pytest-asyncio.spec +++ b/python-pytest-asyncio.spec @@ -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