Skip to content

TST: account for asyncio changes in py314 - #30918

Merged
timhoffm merged 3 commits into
matplotlib:mainfrom
tacaswell:fix/py314_eventloop
Jan 8, 2026
Merged

TST: account for asyncio changes in py314#30918
timhoffm merged 3 commits into
matplotlib:mainfrom
tacaswell:fix/py314_eventloop

Conversation

@tacaswell

Copy link
Copy Markdown
Member

An EventLoop will no longer be implicitly created by get_event_loop()

Closes #30917

PR summary

Creates an EventLoop if needed.

PR checklist

An EventLoop will no longer be implicitly created by `get_event_loop()`

Closes matplotlib#30917
@tacaswell tacaswell added this to the v3.11.0 milestone Dec 31, 2025
@tacaswell

Copy link
Copy Markdown
Member Author

Something is going wrong with installing dependencies on 3.14 as most of the failures have

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.4.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.

If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.

and then a segfault.

This is a consequence of wheels deferring issues that should be detected at install time to segfaults an runtime (because the metadata on wheels is not rich enough).

@timhoffm
timhoffm merged commit d4ff5fa into matplotlib:main Jan 8, 2026
39 of 40 checks passed
@tacaswell
tacaswell deleted the fix/py314_eventloop branch January 8, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: TimerAsyncio does not work with Python 3.14

3 participants