Closed davesteele closed 4 years ago
I have this warning too, but they explicitly state that they only support up to python 3.7 But I believe supporting 3.8 is in the roadmap (https://github.com/Tinche/aiofiles/pull/68) , and fixing this issue will be necessary for that step.
I believe these are fixed in the latest release!
I believe these are fixed in the latest release!
@Tinche Do you mean on the master branch instead of the tagged release? I have also DeprecationWarning with Pytest on os.py:8 with the latest release 0.5.0 as already mentioned in #74 (which mentioned also #75 and #54).
See the differences for master and latest release 0.5.0 for example. It would be nice to have a tagged version to get rid of the Python3.8 warnings for this version.
@Tinche any chance you could create a new release to include the fix for this?
I'll cut a new release tomorrow!
Released!
thank you.
e.g. /home/daves/github/aiofiles/.pybuild/cpython3_3.8/build/aiofiles/threadpool/utils.py:33: DeprecationWarning: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead def method(self, *args, **kwargs):
.pybuild/cpython3_3.8/build/tests/test_simple.py::test_serve_small_bin_file_sync /home/daves/github/aiofiles/.pybuild/cpython3_3.8/build/tests/test_simple.py:28: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10. server = yield from asyncio.start_server(serve_file, port=unused_tcp_port,