Skip to content

Enable testing with Python 3.15 - #32202

Open
QuLogic wants to merge 2 commits into
matplotlib:mainfrom
QuLogic:py315
Open

QuLogic wants to merge 2 commits into
matplotlib:mainfrom
QuLogic:py315

Conversation

@QuLogic

@QuLogic QuLogic commented Aug 12, 2026

Copy link
Copy Markdown
Member

PR summary

Since Python 3.15 has now had its first release candidate, the wheel ABI is stable, and we can start to see wheels being deployed. So we should be able to enable testing as well.

AI Disclosure

None

PR quality check

  • Use an expressive title, e.g. "Fix title font property precedence"
  • New and changed code is tested
  • [n/a] Plotting related features are demonstrated in an example
  • [n/a] New features and API changes have release notes
  • Documentation complies with general and docstring guidelines

@QuLogic

QuLogic commented Aug 15, 2026

Copy link
Copy Markdown
Member Author

Very strange that so many things are hanging here; I cannot reproduce this locally with whatever toolkits I can install.

@scottshambaugh

Copy link
Copy Markdown
Contributor

Heads up that python 3.15rc3 is released now, with full release set for October 9.

https://www.python.org/downloads/release/python-3150rc3/

@scottshambaugh

Copy link
Copy Markdown
Contributor

3.15 is out now

@tacaswell
tacaswell marked this pull request as ready for review October 12, 2026 02:43
@tacaswell tacaswell closed this Oct 12, 2026
@tacaswell tacaswell reopened this Oct 12, 2026
@tacaswell

Copy link
Copy Markdown
Member

power-cycled to re-run CI.

@QuLogic

QuLogic commented Oct 14, 2026

Copy link
Copy Markdown
Member Author

Still seems to be timing out with Tk backend tests, and still I can't reproduce it locally.

@timhoffm

Copy link
Copy Markdown
Member

There are also timeouts for

  • lib/matplotlib/tests/test_backends_interactive.py::test_lazy_auto_backend_selection
  • lib/matplotlib/tests/test_backends_interactive.py::test_qt_missing

maybe it’s not a Tk-specific issue but more generally a subprocess topic. I’d try to deactivate parallel test execution to exclude any race conditions.

@QuLogic

QuLogic commented Oct 15, 2026

Copy link
Copy Markdown
Member Author

We can try, but both could still be hanging trying to auto-select Tk. The subprocess tests in, e.g., test_rcparams.py seem okay.

@QuLogic
QuLogic force-pushed the py315 branch 2 times, most recently from d31cccb to 4335d4d Compare October 16, 2026 00:25
Comment thread .github/workflows/tests.yml Outdated
@QuLogic QuLogic mentioned this pull request Oct 16, 2026
2 tasks done
@QuLogic
QuLogic force-pushed the py315 branch 2 times, most recently from 6c1d26a to 7f14650 Compare October 17, 2026 04:58
Since Python 3.15 has now had its first release candidate, the wheel ABI
is stable, and we can start to see wheels being deployed. So we should be
able to enable testing as well.
We can re-enable these once the packages have tested wheels available,
and Tk doesn't freeze.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI: testing CI configuration and testing Maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants