Bug summary
The recently-released Python PyGObject package v3.52.0 requires a major upgrade of the system glib dependencies. For example, it expects to find girepository-2.0 where previously girepository-1.0 would satisfy dependencies.
This can be observed in recent mainline build logs: https://github.com/matplotlib/matplotlib/actions/runs/13819552073/job/38661296332#step:10:306
This is a similar issue to #29732, but affecting Ubuntu 22.04.
Code for reproduction
Actual outcome
GTK-related tests should run during the GitHub Actions Linux CI test jobs (tests.yml workflow).
Expected outcome
GTK-related tests are skipped due to the inability of the library to load the relevant glib functionality.
Additional information
The libgirepository-2.0-0 system package that I believe may be necessary to unblock the PyGObject>3.52.0 upgrade on Linux platforms is available on Ubuntu 24.04 (aka ubuntu-24.04 or ubuntu-latest at the time-of-writing in GitHub Actions' current runner images).
However, v2.0 of the same package is not currently available -- and I would guess is unlikely to become available -- on Ubuntu 22.04.
Operating system
Ubuntu 22.04
Matplotlib Version
9293596
Matplotlib Backend
N/A
Python version
No response
Jupyter version
N/A
Installation
None
Bug summary
The recently-released Python
PyGObjectpackage v3.52.0 requires a major upgrade of the systemglibdependencies. For example, it expects to findgirepository-2.0where previouslygirepository-1.0would satisfy dependencies.This can be observed in recent mainline build logs: https://github.com/matplotlib/matplotlib/actions/runs/13819552073/job/38661296332#step:10:306
This is a similar issue to #29732, but affecting Ubuntu 22.04.
Code for reproduction
Actual outcome
GTK-related tests should run during the GitHub Actions Linux CI test jobs (
tests.ymlworkflow).Expected outcome
GTK-related tests are skipped due to the inability of the library to load the relevant
glibfunctionality.Additional information
The
libgirepository-2.0-0system package that I believe may be necessary to unblock thePyGObject>3.52.0upgrade on Linux platforms is available on Ubuntu 24.04 (akaubuntu-24.04orubuntu-latestat the time-of-writing in GitHub Actions' current runner images).However, v2.0 of the same package is not currently available -- and I would guess is unlikely to become available -- on Ubuntu 22.04.
Operating system
Ubuntu 22.04
Matplotlib Version
9293596
Matplotlib Backend
N/A
Python version
No response
Jupyter version
N/A
Installation
None