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

Call without loop parameter if python 3.10+ #19298

Merged
merged 1 commit into from
Oct 12, 2021
Merged

Call without loop parameter if python 3.10+ #19298

merged 1 commit into from
Oct 12, 2021

Conversation

carlogrisetti
Copy link
Contributor

This has been done in the most conservative way possible, keeping the current behavior (so passing the loop= parameter) whenever it is still possible.
The loop parameter has been deprecated since Python 3.8 and has then been removed in Python 3.10

This is linked to Issue #19191 and a similar implementation as PR #19120

Copy link
Contributor

@simon-mo simon-mo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simon-mo simon-mo merged commit c2377fb into ray-project:master Oct 12, 2021
@simon-mo
Copy link
Contributor

Event though Ray is not compatible with python 3.10 yet (haven't built the wheel for it), it is great that we will be ready for it.

@carlogrisetti carlogrisetti deleted the fix-asyncio-loop-deprecation branch October 12, 2021 07:11
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.

3 participants