From aabc50b179aa745e346e7564a8a5c2acdd019a305898ff71d38d9d8a682172d4 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 12 Aug 2025 13:29:36 +0000 Subject: [PATCH] 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 --- anyio-4.10.0.tar.gz | 3 +++ anyio-4.9.0.tar.gz | 3 --- python-anyio.changes | 45 ++++++++++++++++++++++++++++++++++++++++++++ python-anyio.spec | 4 ++-- 4 files changed, 50 insertions(+), 5 deletions(-) create mode 100644 anyio-4.10.0.tar.gz delete mode 100644 anyio-4.9.0.tar.gz diff --git a/anyio-4.10.0.tar.gz b/anyio-4.10.0.tar.gz new file mode 100644 index 0000000..05ea3f1 --- /dev/null +++ b/anyio-4.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f3fae35c96039744587aa5b8371e7e8e603c0702999535961dd336026973ba6 +size 213252 diff --git a/anyio-4.9.0.tar.gz b/anyio-4.9.0.tar.gz deleted file mode 100644 index 05bcf43..0000000 --- a/anyio-4.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:673c0c244e15788651a4ff38710fea9675823028a6f08a5eda409e0c9840a028 -size 190949 diff --git a/python-anyio.changes b/python-anyio.changes index 8183b0a..4178d6c 100644 --- a/python-anyio.changes +++ b/python-anyio.changes @@ -1,3 +1,48 @@ +------------------------------------------------------------------- +Tue Aug 12 08:54:42 UTC 2025 - Dominique Leuenberger + +- 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 diff --git a/python-anyio.spec b/python-anyio.spec index 362aa98..a99b8ff 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -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