Opened 5 years ago

Last modified 5 years ago

#30900 closed Bug

ASGI and async tests are failing on Python 3.8 and Windows. — at Version 1

Reported by: Mariusz Felisiak Owned by: nobody
Component: HTTP handling Version: 3.0
Severity: Release blocker Keywords:
Cc: Andrew Godwin, Carlton Gibson Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description (last modified by Mariusz Felisiak)

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/

Change History (2)

by Mariusz Felisiak, 5 years ago

Attachment: stacktrace.txt added

comment:1 by Mariusz Felisiak, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top