Accepting request 1244802 from devel:languages:python

- Update to 4.8.0:
  * Added experimental support for running functions in 
    subinterpreters on Python 3.13 and later
  * Added support for the copy(), copy_into(), move() and move_into() 
    methods in anyio.Path, available in Python 3.14
  * Changed TaskGroup on asyncio to always spawn tasks non-eagerly, 
    even if using a task factory created 
    via asyncio.create_eager_task_factory(), to preserve expected 
    Trio-like task scheduling semantics (PR by @agronholm and @graingert)
  * Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector 
    thread waker socket pair (this should improve the performance of 
    wait_readable() and wait_writable() when using the ProactorEventLoop) 
    (#836; PR by @graingert)
  * Fixed AssertionError when using nest-asyncio (#840)
  * Fixed return type annotation of various context managers' 
    __exit__ method (#847; PR by @Enegg)
- from 4.7.0:
  * Updated TaskGroup to work with asyncio's eager task factories (#764)
  * Added the wait_readable() and wait_writable() functions which will 
    accept an object with a .fileno() method or an integer handle, and 
    deprecated their now obsolete versions (wait_socket_readable() and 
    wait_socket_writable()) (PR by @davidbrochart)
  * Changed EventAdapter (an Event with no bound async backend) to allow 
    set() to work even before an async backend is bound to it (#819)
  * Added support for wait_readable() and wait_writable() on 
    ProactorEventLoop (used on asyncio + Windows by default)
  * Fixed a misleading ValueError in the context of DNS failures 
    (#815; PR by @graingert)
  * Fixed the return type annotations of readinto() and readinto1() 
    methods in the anyio.AsyncFile class (#825)
  * Fixed TaskInfo.has_pending_cancellation() on asyncio returning 
    false positives in cleanup code on Python >= 3.11 
    (#832; PR by @gschaffner)
  * Fixed cancelled cancel scopes on asyncio calling 
    asyncio.Task.uncancel when propagating a CancelledError on exit 
    to a cancelled parent scope (#790; PR by @gschaffner)

OBS-URL: https://build.opensuse.org/request/show/1244802
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-anyio?expand=0&rev=24
This commit is contained in:
Ana Guerrero 2025-02-11 20:21:06 +00:00 committed by Git OBS Bridge
commit eec57d7264
4 changed files with 48 additions and 7 deletions

BIN
anyio-4.6.2.post1.tar.gz (Stored with Git LFS)

Binary file not shown.

3
anyio-4.8.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,43 @@
-------------------------------------------------------------------
Mon Feb 10 09:17:39 UTC 2025 - Nico Krapp <nico.krapp@suse.com>
- Update to 4.8.0:
* Added experimental support for running functions in
subinterpreters on Python 3.13 and later
* Added support for the copy(), copy_into(), move() and move_into()
methods in anyio.Path, available in Python 3.14
* Changed TaskGroup on asyncio to always spawn tasks non-eagerly,
even if using a task factory created
via asyncio.create_eager_task_factory(), to preserve expected
Trio-like task scheduling semantics (PR by @agronholm and @graingert)
* Configure SO_RCVBUF, SO_SNDBUF and TCP_NODELAY on the selector
thread waker socket pair (this should improve the performance of
wait_readable() and wait_writable() when using the ProactorEventLoop)
(#836; PR by @graingert)
* Fixed AssertionError when using nest-asyncio (#840)
* Fixed return type annotation of various context managers'
__exit__ method (#847; PR by @Enegg)
- from 4.7.0:
* Updated TaskGroup to work with asyncio's eager task factories (#764)
* Added the wait_readable() and wait_writable() functions which will
accept an object with a .fileno() method or an integer handle, and
deprecated their now obsolete versions (wait_socket_readable() and
wait_socket_writable()) (PR by @davidbrochart)
* Changed EventAdapter (an Event with no bound async backend) to allow
set() to work even before an async backend is bound to it (#819)
* Added support for wait_readable() and wait_writable() on
ProactorEventLoop (used on asyncio + Windows by default)
* Fixed a misleading ValueError in the context of DNS failures
(#815; PR by @graingert)
* Fixed the return type annotations of readinto() and readinto1()
methods in the anyio.AsyncFile class (#825)
* Fixed TaskInfo.has_pending_cancellation() on asyncio returning
false positives in cleanup code on Python >= 3.11
(#832; PR by @gschaffner)
* Fixed cancelled cancel scopes on asyncio calling
asyncio.Task.uncancel when propagating a CancelledError on exit
to a cancelled parent scope (#790; PR by @gschaffner)
-------------------------------------------------------------------
Tue Oct 22 16:00:48 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-anyio
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-anyio
Version: 4.6.2.post1
Version: 4.8.0
Release: 0
Summary: High level compatibility layer for asynchronous event loop implementations
License: MIT
@ -32,7 +32,7 @@ BuildRequires: %{python_module psutil >= 5.9}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module sniffio >= 1.1}
BuildRequires: %{python_module toml}
BuildRequires: %{python_module typing_extensions if %python-base < 3.11}
BuildRequires: %{python_module typing_extensions}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros >= 20210127.3a18043
# SECTION test requirements
@ -41,13 +41,14 @@ BuildRequires: %{python_module pytest >= 7.0}
BuildRequires: %{python_module pytest-mock >= 3.6.1}
BuildRequires: %{python_module trio >= 0.26.1}
BuildRequires: %{python_module trustme}
BuildRequires: %{python_module uvloop}
# /SECTION
BuildRequires: fdupes
Requires: python-idna >= 2.8
Requires: python-sniffio >= 1.1
Requires: python-typing_extensions
%if 0%{?python_version_nodots} < 311
Requires: python-exceptiongroup
Requires: python-typing_extensions
%endif
Suggests: python-trio >= 0.26.1
BuildArch: noarch