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: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead #84

Closed
timkofu opened this issue Sep 19, 2020 · 3 comments

Comments

@timkofu
Copy link

timkofu commented Sep 19, 2020

I'm getting the exception below on Python 3.8:

...lib/python3.8/site-packages/aiofiles/os.py:10: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def run(*args, loop=None, executor=None, **kwargs):
In [2]: aiofiles.__version__
Out[2]: '0.5.0'
@shan-guo
Copy link

I'm getting the exception below on Python 3.8:

...lib/python3.8/site-packages/aiofiles/os.py:10: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead
    def run(*args, loop=None, executor=None, **kwargs):
In [2]: aiofiles.__version__
Out[2]: '0.5.0'

So did I, Have you solved it now ?

@StigKorsnes
Copy link

If you have look at the commit for os.py, you will se those exact changes. V 0.6 just not released.

@samuelcolvin
Copy link

v0.6 is released!

This can be closed.

@Tinche Tinche closed this as completed Oct 30, 2020
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

No branches or pull requests

5 participants