Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-asyncio for 
openSUSE:Factory checked in at 2024-03-06 23:02:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-asyncio (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-asyncio.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-asyncio"

Wed Mar  6 23:02:58 2024 rev:18 rq:1154886 version:0.23.5

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-asyncio/python-pytest-asyncio.changes  
    2023-11-08 22:17:24.066452863 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-asyncio.new.1770/python-pytest-asyncio.changes
    2024-03-06 23:02:59.957979910 +0100
@@ -1,0 +2,65 @@
+Sat Mar  2 11:29:53 UTC 2024 - Ben Greiner <c...@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 <dmuel...@suse.com>
+
+- update to 0.23.3:
+  * Fixes a bug that caused event loops to be closed prematurely
+    when using async generator fixtures with class scope or wider
+    in a function-scoped test #706
+  * Fixes various bugs that caused an internal pytest error
+    during test collection #711 #713 #719
+  * Fixes a bug that caused an internal pytest error when
+    collecting .txt files
+  * Fixes a bug that caused an internal pytest error when using
+    module-level skips #701
+    This release is backwards-compatible with v0.21. Changes are
+    non-breaking, unless you upgrade from v0.22.
+  * BREAKING: The asyncio_event_loop mark has been removed.
+    Event loops with class, module, package, and session scopes
+    can be requested via the scope keyword argument to the
+    _asyncio_ mark. -
+    Introduces the event_loop_policy fixture which allows testing
+    with non-default or multiple event loops
+  * Introduces pytest_asyncio.is_async_test which returns whether
+    a test item is managed by pytest-asyncio
+  * Removes and pytest trio, mypy, and flaky from the test
+    dependencies
+  * Deprecate redefinition of the event_loop fixture. #587 Users
+    requiring a class-scoped or module-scoped asyncio event loop
+    for their tests should mark the corresponding class or module
+    with asyncio_event_loop.
+  * Test items based on asynchronous generators always exit with
+    xfail status and emit a warning during the collection phase.
+    This behavior is consistent with synchronous yield tests.
+    #642
+  * Remove support for Python 3.7
+  * Declare support for Python 3.12
+- drop hypothesis-health-check.patch (upstream)
+
+-------------------------------------------------------------------

Old:
----
  hypothesis-health-check.patch
  pytest-asyncio-0.21.1.tar.gz

New:
----
  pytest-asyncio-0.23.5.tar.gz

BETA DEBUG BEGIN:
  Old:  * Declare support for Python 3.12
- drop hypothesis-health-check.patch (upstream)
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-asyncio.spec ++++++
--- /var/tmp/diff_new_pack.62TfVy/_old  2024-03-06 23:03:01.334029798 +0100
+++ /var/tmp/diff_new_pack.62TfVy/_new  2024-03-06 23:03:01.334029798 +0100
@@ -1,7 +1,7 @@
 #
-# spec file
+# spec file for package python-pytest-asyncio
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,32 +26,28 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-pytest-asyncio%{psuffix}
-Version:        0.21.1
+Version:        0.23.5
 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/commit/fd57e55db1170c029324a7a9c56f86f14468217e
 [test] Addresses a Hypothesis health check that leads to failing tests.
-Patch:          hypothesis-health-check.patch
-BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm}
 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 flaky >= 3.5.0}
 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}}
-BuildRequires:  %{python_module pytest-trio >= 0.7}
 %endif
 %python_subpackages
 
@@ -86,6 +82,6 @@
 %doc README.rst
 %license LICENSE
 %{python_sitelib}/pytest_asyncio
-%{python_sitelib}/pytest_asyncio-%{version}*-info
+%{python_sitelib}/pytest_asyncio-%{version}.dist-info
 %endif
 

++++++ pytest-asyncio-0.21.1.tar.gz -> pytest-asyncio-0.23.5.tar.gz ++++++
++++ 5877 lines of diff (skipped)

Reply via email to