diff --git a/anyio-4.10.0.tar.gz b/anyio-4.10.0.tar.gz deleted file mode 100644 index 10c414368f7ebd37a29e9cd4a1fc49579e2bb4a7..0000000000000000000000000000000000000000 Binary files a/anyio-4.10.0.tar.gz and /dev/null differ diff --git a/anyio-4.11.0.tar.gz b/anyio-4.11.0.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1f74d9e981bbcffef06e9ac3774bdaca6db1fc51 Binary files /dev/null and b/anyio-4.11.0.tar.gz differ diff --git a/python-anyio.spec b/python-anyio.spec index 3c2b554b147e970984370e9ec43abbfb54f5008d..d726a97add798825d9558b85e2dbfbe7aa5d8bec 100644 --- a/python-anyio.spec +++ b/python-anyio.spec @@ -2,7 +2,7 @@ %global pypi_name anyio Name: python-%{pypi_name} -Version: 4.10.0 +Version: 4.11.0 Release: 1 Summary: Compatibility layer for multiple asynchronous event loop implementations License: MIT @@ -46,6 +46,17 @@ on top of asyncio, and works in harmony with the native SC of trio itself. %{python3_sitelib}/anyio/ %changelog +* Thu Oct 09 2025 maqi - 4.11.0-1 +- Update package with version 4.11.0 + Added support for cancellation reasons (the reason parameter to CancelScope.cancel()) + Bumped the minimum version of Trio to v0.31.0 + Added the ability to enter the event loop from foreign (non-worker) threads by passing the return value of anyio.lowlevel.current_token() to anyio.from_thread.run() and anyio.from_thread.run_sync() as the token keyword argument + Added pytest option (anyio_mode = "auto") to make the pytest plugin automatically handle all async tests + Added the anyio.Condition.wait_for() method for feature parity with asyncio + Changed the default type argument of anyio.abc.TaskStatus from Any to None + Fixed TCP listener behavior to guarantee the same ephemeral port is used for all socket listeners when local_port=0 + Fixed inconsistency between Trio and asyncio where a TCP stream that previously raised a BrokenResourceError on send() would still raise BrokenResourceError after the stream was closed on asyncio,but ClosedResourceError on Trio. They now both raise a ClosedResourceError in this scenario. + * Wed Aug 13 2025 lvfei - 4.10.0-1 - Update package with version 4.10.0 - Added the feed_data() method to the BufferedByteReceiveStream class, allowing users to inject data directly into the buffer