17
0

4 Commits

Author SHA256 Message Date
3d216486ec Accepting request 1315718 from devel:languages:python:pytest
- update to 1.2.0:
  * --asyncio-debug CLI option and asyncio_debug configuration
    option to enable asyncio debug mode for the default event
    loop.
  * A pytest.UsageError for invalid configuration values of
    asyncio_default_fixture_loop_scope and
    asyncio_default_test_loop_scope.
  * Compatibility with the Pyright type checker
  * RuntimeError: There is no current event loop in thread
    'MainThread' when any test unsets the event loop (such as
    when using asyncio.run and asyncio.Runner).
  * Deprecation warning when decorating an asynchronous fixture
    with @pytest.fixture in strict mode. The warning message now
    refers to the correct package.
  * Bump the minimum required version of tox to v4.28. This
    change is only relevant if you use the tox.ini file provided
    by pytest-asyncio to run tests.
  * Extend dependency on typing-extensions>=4.12 from Python<3.10
    to Python<3.13.
  * Propagation of ContextVars from async fixtures to other
    fixtures and tests on Python 3.10 and older
  * Cancellation of tasks when the loop_scope ends
  * Warning when the current event loop is closed by a test
  * Error about missing loop when calling functions requiring a
    loop in the finally clause of a task
  * An error that could cause duplicate warnings to be issued
  * Added runtime dependency on backports.asyncio.runner for use
    with Python 3.10 and older
- drop pytest84.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1315718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=28
2025-11-05 15:17:47 +00:00
34f36267e9 Accepting request 1287804 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/1287804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-asyncio?expand=0&rev=27
2025-07-08 13:29:00 +00:00
f87ab29d24 Accepting request 1287227 from home:mcalabkova:branches:devel:languages:python:pytest
- Add upstream pytest84.patch for compatibility with pytest 8.4.0

OBS-URL: https://build.opensuse.org/request/show/1287227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=57
2025-06-23 05:46:05 +00:00
1c51c1b08f Accepting request 1280518 from home:ojkastl_buildservice:Branch_devel_languages_python_pytest
update to 1.0.0

OBS-URL: https://build.opensuse.org/request/show/1280518
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-asyncio?expand=0&rev=56
2025-05-27 13:37:06 +00:00
6 changed files with 96 additions and 7 deletions

5
_scmsync.obsinfo Normal file
View File

@@ -0,0 +1,5 @@
mtime: 1757756878
commit: 29aa58b7fbdf4866c1dc5968b37155939c2c216e3fd922d85f3b5107b74a61b1
url: https://src.opensuse.org/python-pytest/python-pytest-asyncio.git
revision: 29aa58b7fbdf4866c1dc5968b37155939c2c216e3fd922d85f3b5107b74a61b1
projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git

3
build.specials.obscpio Normal file
View File

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

BIN
pytest-asyncio-0.26.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@@ -1,3 +1,80 @@
-------------------------------------------------------------------
Sat Sep 13 09:39:08 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 1.2.0:
* --asyncio-debug CLI option and asyncio_debug configuration
option to enable asyncio debug mode for the default event
loop.
* A pytest.UsageError for invalid configuration values of
asyncio_default_fixture_loop_scope and
asyncio_default_test_loop_scope.
* Compatibility with the Pyright type checker
* RuntimeError: There is no current event loop in thread
'MainThread' when any test unsets the event loop (such as
when using asyncio.run and asyncio.Runner).
* Deprecation warning when decorating an asynchronous fixture
with @pytest.fixture in strict mode. The warning message now
refers to the correct package.
* Bump the minimum required version of tox to v4.28. This
change is only relevant if you use the tox.ini file provided
by pytest-asyncio to run tests.
* Extend dependency on typing-extensions>=4.12 from Python<3.10
to Python<3.13.
* Propagation of ContextVars from async fixtures to other
fixtures and tests on Python 3.10 and older
* Cancellation of tasks when the loop_scope ends
* Warning when the current event loop is closed by a test
* Error about missing loop when calling functions requiring a
loop in the finally clause of a task
* An error that could cause duplicate warnings to be issued
* Added runtime dependency on backports.asyncio.runner for use
with Python 3.10 and older
- drop pytest84.patch (upstream)
-------------------------------------------------------------------
Fri Jun 20 12:27:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Add upstream pytest84.patch for compatibility with pytest 8.4.0
-------------------------------------------------------------------
Tue May 27 11:12:52 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 1.0.0:
https://github.com/pytest-dev/pytest-asyncio/releases/tag/v1.0.0
* Removed
- The deprecated event_loop fixture.
(#1106)
* Added
- Prelimiary support for Python 3.14
(#1025)
* Changed
+ Scoped event loops (e.g. module-scoped loops) are created
once rather than per scope (e.g. per module). This reduces
the number of fixtures and speeds up collection time,
especially for large test suites.
(#1107)
* The loop_scope argument to pytest.mark.asyncio no longer
forces that a pytest Collector exists at the level of the
specified scope. For example, a test function marked with
pytest.mark.asyncio(loop_scope="class") no longer requires a
class surrounding the test. This is consistent with the
behavior of the scope argument to pytest_asyncio.fixture.
(#1112)
* Fixed
* An error caused when using pytest's
[--setup-plan]{.title-ref} option.
(#630)
* Unsuppressed import errors with pytest option
--doctest-ignore-import-errors
(#797)
* A "fixture not found" error in connection with package-scoped
loops
(#1052)
* Notes for Downstream Packagers
* Removed a test that had an ordering dependency on other
tests.
(#1114)
-------------------------------------------------------------------
Mon Apr 28 14:19:40 UTC 2025 - Dirk Müller <dmueller@suse.com>
@@ -50,9 +127,9 @@ Tue Oct 8 15:42:52 UTC 2024 - Markéta Machová <mmachova@suse.com>
- 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
* 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
* 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

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-asyncio
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-pytest-asyncio%{psuffix}
Version: 0.26.0
Version: 1.2.0
Release: 0
Summary: Pytest support for asyncio
License: Apache-2.0
@@ -36,10 +36,14 @@ BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module typing-extensions >= 4.12 if %python-base < 3.13}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: (python-pytest >= 8.2.0 with python-pytest < 9)
%if 0%{?python_version_nodots} < 313
Requires: python-typing-extensions >= 4.12
%endif
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module hypothesis >= 5.7.1}