Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate async-timeout dependency #6558

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

MetRonnie
Copy link
Member

https://pypi.org/project/async-timeout/

DEPRECATED

This library has effectively been upstreamed into Python 3.11+.

Therefore this library is considered deprecated and no longer actively supported.

Version 5.0+ provides dual-mode when executed on Python 3.11+: asyncio_timeout.Timeout is fully compatible with asyncio.Timeout and old versions of the library.

Anyway, using upstream is highly recommended. asyncio_timeout exists only for the sake of backward compatibility, easy supporting both old and new Python by the same code, and easy misgration.

If rescheduling API is not important and only async with timeout(...): ... functionality is required, a user could apply conditional import

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests, docs, changelog not needed
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@MetRonnie MetRonnie added this to the 8.5.0 milestone Jan 15, 2025
@MetRonnie MetRonnie self-assigned this Jan 15, 2025
@oliver-sanders oliver-sanders merged commit 26b12e4 into cylc:master Jan 15, 2025
40 checks passed
@MetRonnie MetRonnie deleted the async-timeout branch January 15, 2025 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants