Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

chore(deps): update dependency anyio to v4.2.0 #58

Merged
merged 1 commit into from
Dec 18, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 16, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
anyio (changelog) ==4.1.0 -> ==4.2.0 age adoption passing confidence

Release Notes

agronholm/anyio (anyio)

v4.2.0

Compare Source

  • Add support for byte-based paths in connect_unix, create_unix_listeners, create_unix_datagram_socket, and create_connected_unix_datagram_socket. (PR by Lura Skye)

  • Enabled the Event and CapacityLimiter classes to be instantiated outside an event loop thread

  • Broadly improved/fixed the type annotations. Among other things, many functions and methods that take variadic positional arguments now make use of PEP 646 TypeVarTuple to allow the positional arguments to be validated by static type checkers. These changes affected numerous methods and functions, including:

    • anyio.run()
    • TaskGroup.start_soon()
    • anyio.from_thread.run()
    • anyio.from_thread.run_sync()
    • anyio.to_thread.run_sync()
    • anyio.to_process.run_sync()
    • BlockingPortal.call()
    • BlockingPortal.start_task_soon()
    • BlockingPortal.start_task()

    (also resolves #​560)

  • Fixed various type annotations of anyio.Path to match Typeshed:

    • anyio.Path.__lt__()
    • anyio.Path.__le__()
    • anyio.Path.__gt__()
    • anyio.Path.__ge__()
    • anyio.Path.__truediv__()
    • anyio.Path.__rtruediv__()
    • anyio.Path.hardlink_to()
    • anyio.Path.samefile()
    • anyio.Path.symlink_to()
    • anyio.Path.with_segments()

    (PR by Ganden Schaffner)

  • Fixed adjusting the total number of tokens in a CapacityLimiter on asyncio failing to wake up tasks waiting to acquire the limiter in certain edge cases (fixed with help from Egor Blagov)

  • Fixed loop_factory and use_uvloop options not being used on the asyncio backend (#​643)

  • Fixed cancellation propagating on asyncio from a task group to child tasks if the task hosting the task group is in a shielded cancel scope (#​642)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/anyio-4.x branch 4 times, most recently from 5a4ffcb to 509f8d1 Compare December 18, 2023 05:11
@mcataford mcataford enabled auto-merge (squash) December 18, 2023 05:13
@renovate renovate bot force-pushed the renovate/anyio-4.x branch from 509f8d1 to fd366e0 Compare December 18, 2023 05:13
@mcataford mcataford merged commit e2c2074 into main Dec 18, 2023
9 checks passed
@mcataford mcataford deleted the renovate/anyio-4.x branch December 18, 2023 05:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant