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

Update README.rst to avoid deprecation warnings #995

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

graingert
Copy link

@graingert graingert commented Jan 7, 2025

What do these changes do?

using asyncio.get_event_loop() before setting it is deprecated and raises on 3.14, and using it outside a running loop is deprecated in 3.14 to be removed in 3.16

this also uses async with for the pool

Are there changes in behavior for the user?

Not visible to the user

Related issue number

No

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant