Title: [Bug]: Unit tests: Ubuntu 22.04 lacks dependencies required for recent PyGObject versions · Issue #29749 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Unit tests: Ubuntu 22.04 lacks dependencies required for recent PyGObject versions · Issue #29749 · matplotlib/matplotlib
X Title: [Bug]: Unit tests: Ubuntu 22.04 lacks dependencies required for recent PyGObject versions · Issue #29749 · matplotlib/matplotlib
Description: 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. T...
Open Graph Description: 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 girepo...
X Description: 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 girepo...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29749
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Unit tests: Ubuntu 22.04 lacks dependencies required for recent PyGObject versions","articleBody":"### Bug summary\n\nThe 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.\n\nThis can be observed in recent mainline build logs: https://github.com/matplotlib/matplotlib/actions/runs/13819552073/job/38661296332#step:10:306\n\nThis is a similar issue to #29732, but affecting Ubuntu 22.04.\n\n### Code for reproduction\n\n```Python\nN/A\n```\n\n### Actual outcome\n\nGTK-related tests should run during the GitHub Actions Linux CI test jobs (`tests.yml` workflow).\n\n### Expected outcome\n\nGTK-related tests are skipped due to the inability of the library to load the relevant `glib` functionality.\n\n### Additional information\n\nThe `libgirepository-2.0-0` system package that I believe may be necessary to unblock the `PyGObject\u003e3.52.0` upgrade on Linux platforms is [available on Ubuntu 24.04](https://packages.ubuntu.com/search?suite=noble\u0026searchon=names\u0026keywords=libgirepository) (aka `ubuntu-24.04` or `ubuntu-latest` at the time-of-writing in GitHub Actions' [current runner images](https://github.com/actions/runner-images/blob/2c323d2f049b7899730569dd8948b6552e8c97b6/README.md?plain=1#L23)).\n\nHowever, v2.0 of the same package is [not currently available](https://packages.ubuntu.com/search?suite=jammy\u0026searchon=names\u0026keywords=libgirepository) -- and I would guess is unlikely to become available -- on Ubuntu 22.04.\n\n### Operating system\n\nUbuntu 22.04\n\n### Matplotlib Version\n\n92935966250922b21f688947593da7d1d15b4efc\n\n### Matplotlib Backend\n\nN/A\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\nN/A\n\n### Installation\n\nNone","author":{"url":"https://github.com/jayaddison","@type":"Person","name":"jayaddison"},"datePublished":"2025-03-13T00:37:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/29749/matplotlib/issues/29749"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a2789881-f2a9-3db2-88ba-c7187f824715 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E924:2A6500:18671E:20D9FF:6A5246B8 |
| html-safe-nonce | 130a7a0c173767a72c67f148f777f0d59255fa9f2fd8a489d7b3733a9f9b7155 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOTI0OjJBNjUwMDoxODY3MUU6MjBEOUZGOjZBNTI0NkI4IiwidmlzaXRvcl9pZCI6IjQzNjY0NDE0NTQ4NzQyODE2NTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6bc40b8a852900dbcb778e818020da63f1bf0868233f8195a48c8364dc09f9c2 |
| hovercard-subject-tag | issue:2915474427 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/29749/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c44387993b5e99aaa9abb2431fad5c7c769a3706944dd966640cd7c3df109db9/matplotlib/matplotlib/issues/29749 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c44387993b5e99aaa9abb2431fad5c7c769a3706944dd966640cd7c3df109db9/matplotlib/matplotlib/issues/29749 |
| og:image:alt | 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 girepo... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jayaddison |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width