-
Notifications
You must be signed in to change notification settings - Fork 553
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
Implement shutdown_default_executor() #349
Comments
Seeing as I added (Note that this would be my first issue for uvloop) |
Kyle, feel free to work on this. |
Sorry for the delay on this. I've been a bit otherwise occupied and had some local issues with installing cython in the virtual environment (due to an OS problem where |
np! |
Really nice to have this. How soon can we expect a new uvloop release? |
I'll try to do one around 3.9 release. Sorry, i'm extremely busy these days. |
Python 3.9.0 has been released already so it would be really nice to get this done. |
It would be super nice to have this fix released! Can't wait to switch over Python 3.9.0 ) |
Thank you for uvloop! I'd love to see this released; if there's anything blocking the release I'd be happy to help :-) |
I'm a bit busy with releasing EdgeDB b1. We should do that in a week or two and then it will be a priority for me to release uvloop (and migrate EdgeDB itself to 3.9). |
Any updates? |
EdgeDB b1 isn't out yet. I wouldn't expect anything to happen before that. |
Version 0.14.0 is not compatible with Python 3.9[1]. Additionally unvendor the copy of libuv, which was unused, but retained in the source tarball, fix subprocess spawning and enable tests, so we know when future updates break it. [1] MagicStack/uvloop#349 * gnu/packages/python-web.scm (python-uvloop): Update to 0.16.0. [source]: Add snippet to remove pre-built loop.c and vendored libuv. [arguments]<#:phases>: Substitute /bin/sh in 'preparations phase, override 'check phase and disable failing tests. [native-inputs]: Remove python-flake8, because it causes test failures and add python-pytest-timeout.
PYTHONASYNCIODEBUG
in env?: yesPython 3.9 added a new mandatory method to the
AbstractEventLoop
interface, named shutdown_default_executor(). This method is crucial forasyncio.run()
to work. If it's absent,asyncio.run()
will fail with aNotImplementedError
when performing the shutdown cleanup.Related CPython issue: https://bugs.python.org/issue34037
The text was updated successfully, but these errors were encountered: