⬆ ️ Bump anyio from 4.6.2.post1 to 4.7.0
Bumps anyio from 4.6.2.post1 to 4.7.0.
Release notes
Sourced from anyio's releases.
4.7.0
- Updated
TaskGroup
to work with asyncio's eager task factories (#764)- Added the
wait_readable()
andwait_writable()
functions which will accept an object with a.fileno()
method or an integer handle, and deprecated their now obsolete versions (wait_socket_readable()
andwait_socket_writable()
) (PR by@davidbrochart
)- Changed
EventAdapter
(anEvent
with no bound async backend) to allowset()
to work even before an async backend is bound to it (#819)- Added support for
wait_readable()
andwait_writable()
onProactorEventLoop
(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()
andreadinto1()
methods in theanyio.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 aCancelledError
on exit to a cancelled parent scope (#790; PR by@gschaffner
)
Changelog
Sourced from anyio's changelog.
Version history
This library adheres to
Semantic Versioning 2.0 <http://semver.org/>
_.4.7.0
- Updated
TaskGroup
to work with asyncio's eager task factories ([#764](https://github.com/agronholm/anyio/issues/764) <https://github.com/agronholm/anyio/issues/764>
_)- Added the
wait_readable()
andwait_writable()
functions which will accept an object with a.fileno()
method or an integer handle, and deprecated their now obsolete versions (wait_socket_readable()
andwait_socket_writable()
) (PR by@davidbrochart
)- Changed
EventAdapter
(anEvent
with no bound async backend) to allowset()
to work even before an async backend is bound to it ([#819](https://github.com/agronholm/anyio/issues/819) <https://github.com/agronholm/anyio/issues/819>
_)- Added support for
wait_readable()
andwait_writable()
onProactorEventLoop
(used on asyncio + Windows by default)- Fixed a misleading
ValueError
in the context of DNS failures ([#815](https://github.com/agronholm/anyio/issues/815) <https://github.com/agronholm/anyio/issues/815>
_; PR by@graingert
)- Fixed the return type annotations of
readinto()
andreadinto1()
methods in theanyio.AsyncFile
class ([#825](https://github.com/agronholm/anyio/issues/825) <https://github.com/agronholm/anyio/issues/825>
_)- Fixed
TaskInfo.has_pending_cancellation()
on asyncio returning false positives in cleanup code on Python >= 3.11 ([#832](https://github.com/agronholm/anyio/issues/832) <https://github.com/agronholm/anyio/issues/832>
_; PR by@gschaffner
)- Fixed cancelled cancel scopes on asyncio calling
asyncio.Task.uncancel
when propagating aCancelledError
on exit to a cancelled parent scope ([#790](https://github.com/agronholm/anyio/issues/790) <https://github.com/agronholm/anyio/pull/790>
_; PR by@gschaffner
)4.6.2
- Fixed regression caused by (
[#807](https://github.com/agronholm/anyio/issues/807) <https://github.com/agronholm/anyio/pull/807>
_) that prevented the use of parametrized async fixtures4.6.1
This release contains all the changes from both v4.5.1 and v4.6.0, plus:
- Fixed TaskGroup and CancelScope producing cyclic references in tracebacks when raising exceptions (
[#806](https://github.com/agronholm/anyio/issues/806) <https://github.com/agronholm/anyio/pull/806>
_) (PR by@graingert
)4.6.0
This release is the successor to v4.5.0 with Python 3.8 support dropped, and does not contain the changes from v4.5.1.
- Dropped support for Python 3.8 (as
[#698](https://github.com/agronholm/anyio/issues/698) <https://github.com/agronholm/anyio/issues/698>
_ cannot be resolved
... (truncated)
Commits
-
c967f5c
Bumped up the version -
f47ac5e
Rearranged changelog entries -
f316ce5
Allowed Event to be set before it's bound to an async backend (#835) -
93a5746
Fixedasyncio.Task.cancelling
issues (#790) -
39cf394
Avoid exposing extra variables key and value in anyio.abc (#833) -
a2150f5
Fixed design issues in PR template (#834) -
0f80611
Added support for wait_readable() and wait_writable() on ProactorEventLoop (#... -
97d5fe6
Made asyncio TaskGroup work with eager task factories (#822) -
44405f4
Updated downstream test workflows and their target Python versions -
93c0cd6
Replaced mentions to run_sync_in_process with to_process.run_sync (#829) - Additional commits viewable in compare view
Merge request reports
Activity
Filter activity
Please register or sign in to reply