Fix test failures on Python 3.14 (#394)
* Fix test failures on Python 3.14 As documented at https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_event_loop, `get_event_loop` now fails if there is no active event loop. Since there will never already be one at the top level of a file anyway, explicitly create a new one every time. * Reformat with black 2026 style
This commit is contained in:
2
.github/workflows/wheels.yml
vendored
2
.github/workflows/wheels.yml
vendored
@@ -53,7 +53,7 @@ jobs:
|
||||
CIBW_ARCHS: ${{ matrix.arch }}
|
||||
# TODO: Disable building PyPy wheels. If the build system gets modernized, this should be
|
||||
# auto-detected based on the Cython dependency.
|
||||
CIBW_SKIP: pp* cp314*
|
||||
CIBW_SKIP: pp*
|
||||
CIBW_TEST_REQUIRES: pytest pytest-asyncio
|
||||
CIBW_TEST_COMMAND: pytest {project}
|
||||
# Only needed to make the macosx arm64 build work
|
||||
|
||||
Reference in New Issue
Block a user