Compare commits
1 Commits
Author | SHA256 | Date | |
---|---|---|---|
2fe2a9932e |
BIN
anyio-4.6.2.post1.tar.gz
(Stored with Git LFS)
BIN
anyio-4.6.2.post1.tar.gz
(Stored with Git LFS)
Binary file not shown.
BIN
anyio-4.8.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
anyio-4.8.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -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>
|
Tue Oct 22 16:00:48 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-anyio
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-anyio
|
Name: python-anyio
|
||||||
Version: 4.6.2.post1
|
Version: 4.8.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: High level compatibility layer for asynchronous event loop implementations
|
Summary: High level compatibility layer for asynchronous event loop implementations
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -32,7 +32,7 @@ BuildRequires: %{python_module psutil >= 5.9}
|
|||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module sniffio >= 1.1}
|
BuildRequires: %{python_module sniffio >= 1.1}
|
||||||
BuildRequires: %{python_module toml}
|
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_module wheel}
|
||||||
BuildRequires: python-rpm-macros >= 20210127.3a18043
|
BuildRequires: python-rpm-macros >= 20210127.3a18043
|
||||||
# SECTION test requirements
|
# SECTION test requirements
|
||||||
@@ -41,13 +41,14 @@ BuildRequires: %{python_module pytest >= 7.0}
|
|||||||
BuildRequires: %{python_module pytest-mock >= 3.6.1}
|
BuildRequires: %{python_module pytest-mock >= 3.6.1}
|
||||||
BuildRequires: %{python_module trio >= 0.26.1}
|
BuildRequires: %{python_module trio >= 0.26.1}
|
||||||
BuildRequires: %{python_module trustme}
|
BuildRequires: %{python_module trustme}
|
||||||
|
BuildRequires: %{python_module uvloop}
|
||||||
# /SECTION
|
# /SECTION
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
Requires: python-idna >= 2.8
|
Requires: python-idna >= 2.8
|
||||||
Requires: python-sniffio >= 1.1
|
Requires: python-sniffio >= 1.1
|
||||||
|
Requires: python-typing_extensions
|
||||||
%if 0%{?python_version_nodots} < 311
|
%if 0%{?python_version_nodots} < 311
|
||||||
Requires: python-exceptiongroup
|
Requires: python-exceptiongroup
|
||||||
Requires: python-typing_extensions
|
|
||||||
%endif
|
%endif
|
||||||
Suggests: python-trio >= 0.26.1
|
Suggests: python-trio >= 0.26.1
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
Reference in New Issue
Block a user