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

Any way to remove this deprecation warning - python verison: 3.9.0? #731

Closed
1 task done
timotei-za opened this issue Feb 15, 2022 · 3 comments
Closed
1 task done
Labels

Comments

@timotei-za
Copy link

timotei-za commented Feb 15, 2022

Is your feature request related to a problem?

DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self._cond = asyncio.Condition(loop=loop)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2800.0_x64__qbz5n2kfra8p0\lib\asyncio\locks.py:252: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  lock = Lock(loop=loop)
C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.2800.0_x64__qbz5n2kfra8p0\lib\asyncio\tasks.py:442: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  return await fut

Describe the solution you'd like

remove this deprecation warning

Describe alternatives you've considered

Any way to remove this deprecation warning - python verison: 3.9.0?

Additional context

No response

Code of Conduct

  • I agree to follow the aio-libs Code of Conduct
@Nothing4You
Copy link
Collaborator

which version are you seeing this on?

that should be fixed in v0.0.22 already

@timotei-za
Copy link
Author

@Nothing4You my current version is 0.0.21

@Nothing4You
Copy link
Collaborator

then the easiest fix would be to update to 0.0.22, that version removed the deprecated arguments and enabled python 3.10 compatibility.

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

No branches or pull requests

2 participants