#30900: ASGI and async tests are failing on Python 3.8 and Windows.
---------------------------------+------------------------------------
Reporter: felixxm | Owner: nobody
Type: Bug | Status: new
Component: HTTP handling | Version: 3.0
Severity: Release blocker | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+------------------------------------
Description changed by felixxm:
Old description:
> 9 ASGI and async tests are failing on Python 3.8 and Windows:
>
> - `asgi.tests.ASGITest.test_disconnect`
> - `asgi.tests.ASGITest.test_file_response`
> - `asgi.tests.ASGITest.test_get_asgi_application`
> - `asgi.tests.ASGITest.test_get_query_string`
> - `asgi.tests.ASGITest.test_headers`
> - `asgi.tests.ASGITest.test_non_unicode_query_string`
> - `asgi.tests.ASGITest.test_wrong_connection_type`
> - `async.tests.AsyncUnsafeTest.test_async_unsafe`
> - `async.tests.DatabaseConnectionTest.test_get_async_connection`
>
> {{{
> File "C:\Python38\lib\asyncio\proactor_events.py", line 679, in close
> signal.set_wakeup_fd(-1)
> ValueError: set_wakeup_fd only works in main thread
> }}}
>
> See https://djangoci.com/view/Main/job/django-
> windows/database=sqlite3,label=windows,python=Python38/274/
New description:
9 ASGI and async tests are failing on Python 3.8 and Windows:
- `asgi.tests.ASGITest.test_disconnect`
- `asgi.tests.ASGITest.test_file_response`
- `asgi.tests.ASGITest.test_get_asgi_application`
- `asgi.tests.ASGITest.test_get_query_string`
- `asgi.tests.ASGITest.test_headers`
- `asgi.tests.ASGITest.test_non_unicode_query_string`
- `asgi.tests.ASGITest.test_wrong_connection_type`
- `async.tests.AsyncUnsafeTest.test_async_unsafe`
- `async.tests.DatabaseConnectionTest.test_get_async_connection`
{{{
File "C:\Jenkins\workspace\django-
windows\database\sqlite3\label\windows\python\Python38\.env\lib\site-
packages\asgiref\sync.py", line 130, in _run_event_loop
File "C:\Python38\lib\asyncio\proactor_events.py", line 679, in close
signal.set_wakeup_fd(-1)
ValueError: set_wakeup_fd only works in main thread
}}}
See https://djangoci.com/view/Main/job/django-
windows/database=sqlite3,label=windows,python=Python38/274/
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30900#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/065.74a6813587bbe5489b04c0f97830c3ae%40djangoproject.com.