15
0
forked from pool/python-anyio

Accepting request 1299049 from home:dimstar:Factory

Sadly. this still fails with glibc 2.42 on i586 :(

- Update to 4.10.0:
  + Added the feed_data() method to the BufferedByteReceiveStream
    class, allowing users to inject data directly into the buffer
  + Added various class methods to wrap existing sockets as
    listeners or socket streams
  + Added a hierarchy of connectable stream classes for
    transparently connecting to various remote or local endpoints
    for exchanging bytes or objects
  + Added context manager mix-in classes (anyio.ContextManagerMixin
    and anyio.AsyncContextManagerMixin) to help write classes that
    embed other context managers, particularly cancel scopes or
    task groups
  + Added the ability to specify the thread name in start_blocking
   _portal()
  + Added anyio.notify_closing to allow waking anyio.wait_readable
    and anyio.wait_writable before closing a socket. Among other
    things, this prevents an OSError on the ProactorEventLoop.
  + Incorporated several documentation improvements from the
    EuroPython 2025 sprint
  + Added a documentation page explaining why one might want to use
    AnyIO's APIs instead of asyncio's
  + Updated the to_interpreters module to use the public
    concurrent.interpreters API on Python 3.14 or later
  + Fixed anyio.Path.copy() and anyio.Path.copy_into() failing on
    Python 3.14.0a7
  + Fixed return annotation of __aexit__ on async context managers.
  + Fixed rollover boundary check in SpooledTemporaryFile so that
    rollover only occurs when the buffer size exceeds max_size
  + Migrated testing and documentation dependencies from extras to
    dependency groups

OBS-URL: https://build.opensuse.org/request/show/1299049
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anyio?expand=0&rev=56
This commit is contained in:
2025-08-12 13:29:36 +00:00
committed by Git OBS Bridge
parent 1b5c4a4565
commit aabc50b179
4 changed files with 50 additions and 5 deletions

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

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

View File

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

View File

@@ -1,3 +1,48 @@
-------------------------------------------------------------------
Tue Aug 12 08:54:42 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to 4.10.0:
+ Added the feed_data() method to the BufferedByteReceiveStream
class, allowing users to inject data directly into the buffer
+ Added various class methods to wrap existing sockets as
listeners or socket streams
+ Added a hierarchy of connectable stream classes for
transparently connecting to various remote or local endpoints
for exchanging bytes or objects
+ Added context manager mix-in classes (anyio.ContextManagerMixin
and anyio.AsyncContextManagerMixin) to help write classes that
embed other context managers, particularly cancel scopes or
task groups
+ Added the ability to specify the thread name in start_blocking
_portal()
+ Added anyio.notify_closing to allow waking anyio.wait_readable
and anyio.wait_writable before closing a socket. Among other
things, this prevents an OSError on the ProactorEventLoop.
+ Incorporated several documentation improvements from the
EuroPython 2025 sprint
+ Added a documentation page explaining why one might want to use
AnyIO's APIs instead of asyncio's
+ Updated the to_interpreters module to use the public
concurrent.interpreters API on Python 3.14 or later
+ Fixed anyio.Path.copy() and anyio.Path.copy_into() failing on
Python 3.14.0a7
+ Fixed return annotation of __aexit__ on async context managers.
+ Fixed rollover boundary check in SpooledTemporaryFile so that
rollover only occurs when the buffer size exceeds max_size
+ Migrated testing and documentation dependencies from extras to
dependency groups
+ Fixed compatibility of anyio.to_interpreter with Python 3.14.0
+ Fixed SyntaxWarning on Python 3.14 about return in finally
+ Fixed RunVar name conflicts. RunVar instances with the same
name should not share storage
+ Renamed the BrokenWorkerIntepreter exception to
BrokenWorkerInterpreter. The old name is available as a
deprecated alias.
+ Fixed an edge case in CapacityLimiter on asyncio where a task,
waiting to acquire a limiter gets cancelled and is subsequently
granted a token from the limiter, but before the cancellation
is delivered, and then fails to notify the next waiting task
-------------------------------------------------------------------
Thu Aug 7 09:33:03 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-anyio
#
# 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-anyio%{psuffix}
Version: 4.9.0
Version: 4.10.0
Release: 0
Summary: High level compatibility layer for asynchronous event loop implementations
License: MIT