GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — ci: Test running on Ubuntu 26.04 by QuLogic · Pull Request #32478 · matplotlib/matplotlib

Conversation

@QuLogic

@QuLogic QuLogic commented Oct 14, 2026

Copy link
Copy Markdown
Member

PR summary

GitHub Actions are producing warnings that ubuntu-latest will be changing from 24.04 to 26.04, so run a test build of everything with it.

This doesn't really need to be merged if everything passes, unless we decide to stop using *-latest.

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
  • [n/a] Documentation complies with general and docstring guidelines

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@QuLogic QuLogic added CI: Run cibuildwheel Run wheel building tests on a PR CI: testing CI configuration and testing labels Oct 14, 2026
@QuLogic
ci: Test running on Ubuntu 26.04
55ddd2b
GitHub Actions are producing warnings that `ubuntu-latest` will be
changing from 24.04 to 26.04, so run a test build of everything with it.
@QuLogic
QuLogic force-pushed the ci-ubuntu26 branch from 0457042 to 55ddd2b Compare October 16, 2026 01:03
@timhoffm

timhoffm commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This produces a lot of image comparison failures.

https://github.blog/changelog/2026-09-17-ubuntu-26-generally-available-and-latest-migration/#ubuntu-latest-is-migrating-to-ubuntu-26-04

The ubuntu-latest label will migrate from Ubuntu 24.04 to Ubuntu 26.04. This migration will roll out gradually between October 19 and November 19, 2026. During this window, workflows that use ubuntu-latest will automatically move to Ubuntu 26.04.

Unless we find a short-term fix, we should at least temporarily move away from latest, otherwise we could get failures starting Oct 19.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@timhoffm timhoffm mentioned this pull request Oct 16, 2026
Enable testing with Python 3.15 #32202
Merged
2 of 3 tasks
@ayshih

ayshih commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Looking through the failures, I see:

  • Nearly all of the failures are due to very slight differences of antialiased edges of artists. I'm puzzled how the Ubuntu version could affect the Agg calculation of antialiasing...
  • test_backend_pgf.py::test_rcupdate (pgf_rcupdate2.pdf) has a difference in the position of one letter
  • test_backends_rendering.py::test_blend_modes_cairo suggests that cairo 1.18.4 is still different on Linux than on other platforms, although thankfully now limited to only Gouraud shading, which appears to no longer work on Linux. The Ubuntu 24.04 job had been installing cairo 1.18.0, which had a wider but shallower set of differences (see Add blend modes and blend groups for compositing #31162 (comment)), so I had used a version-specific tolerance. The test may simply need to be changed to not run on Linux at all.
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@QuLogic

QuLogic commented Oct 16, 2026

Copy link
Copy Markdown
Member Author

Unless we find a short-term fix, we should at least temporarily move away from latest, otherwise we could get failures starting Oct 19.

Tests are all on 24.04, there's nothing to worry about here.

timhoffm reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@QuLogic

QuLogic commented Oct 16, 2026

Copy link
Copy Markdown
Member Author
  • Nearly all of the failures are due to very slight differences of antialiased edges of artists. I'm puzzled how the Ubuntu version could affect the Agg calculation of antialiasing...

Yes, this is very strange, which is why I pulled it out of #32202 to test independently of 3.15. We are on a completely newer toolchain on Fedora and everything is fine, so I don't really understand why this might be happening here, unless the machines themselves are different.

  • test_backend_pgf.py::test_rcupdate (pgf_rcupdate2.pdf) has a difference in the position of one letter

This one is #29790.

  • test_backends_rendering.py::test_blend_modes_cairo suggests that cairo 1.18.4 is still different on Linux than on other platforms, although thankfully now limited to only Gouraud shading, which appears to no longer work on Linux. The Ubuntu 24.04 job had been installing cairo 1.18.0, which had a wider but shallower set of differences (see Add blend modes and blend groups for compositing #31162 (comment)), so I had used a version-specific tolerance. The test may simply need to be changed to not run on Linux at all.

OK, I'm glad you recognized the issue here, as I wasn't too sure what was going on there. Perhaps you can open a PR with your suggestion?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ayshih

ayshih commented Oct 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Oh! Ubuntu 26.04 bumps us to GCC 15 (Ubuntu 24.04 uses GCC 13). That could easily explain the slight differences in the antialiasing calculations. I wonder if that could also explain the breakage of Cairo Gouraud shading on Linux. I've not managed to reproduce the issue with Gouraud shading under older GCC.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@QuLogic

QuLogic commented Oct 17, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member Author

Fedora is already on GCC 16, and I can't reproduce (edit: the minor differences, I mean, not the Cairo or TeX ones) in a Ubuntu 26.04 container either, so it's a bit strange.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@axel-j-larsson axel-j-larsson mentioned this pull request Oct 19, 2026
Update pgf baseline image for TeX Live 2025 #32504
Open
2 tasks done
@github-actions github-actions Bot added the status: needs rebase label Oct 21, 2026

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

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

CI: Run cibuildwheel Run wheel building tests on a PR CI: testing CI configuration and testing status: needs rebase

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@QuLogic @timhoffm @ayshih
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.