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

DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. #505

Closed
youngamichael opened this issue Jun 19, 2020 · 2 comments · Fixed by #631

Comments

@youngamichael
Copy link

Any plans to fix this deprecation warning?

root/.local/share/virtualenvs/app-ueEJiAOq/lib/python3.8/site-packages/aiomysql/pool.py:46: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    self._cond = asyncio.Condition(loop=loop)
/usr/local/lib/python3.8/asyncio/locks.py:335: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    lock = Lock(loop=loop)
/usr/local/lib/python3.8/asyncio/tasks.py:455: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
   return await fut
@JulienPalard
Copy link

And it has been removed in 3.10:

TypeError: As of 3.10, the loop parameter was removed from Condition() since it is no longer necessary

@jossefaz
Copy link

Any news for that?

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 a pull request may close this issue.

3 participants