-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
ci: restrict 'pygobject-ver' for Ubuntu 22.04 jobs #29847
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci: restrict 'pygobject-ver' for Ubuntu 22.04 jobs #29847
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
0216d73 to
a76b888
Compare
a76b888 to
5b2001c
Compare
|
Hmm, I've rerun the failing CI job to see if it passes. It doesn't seem to be failing on |
|
Thanks @dstansby - possibly another flaky test case I can file a bug for? I hadn't encountered that particular failure mode before ( |
|
Found it; the failure (caution: subsequently includes extremely lengthy diff) that occurred is: https://github.com/matplotlib/matplotlib/actions/runs/14624206559/job/41031666394#step:13:171 |
|
Thanks @dstansby |
|
Is it OK if I merge-from-main and/or rebase-against-main? I think this PR remains equally valid against the latest changes -- I'd like to keep the test results relatively fresh. |
I think rebasing is preferable, and CI results should be green(ish) on |
Currently we continue to install `girepository-1.0` during these workflow jobs; `PyGObject` v3.52 needs `girepository-2.0` instead.
5b2001c to
da2063b
Compare
|
Ping for any additional review / feedback? |
|
Thanks @jayaddison! |
|
You're welcome - thank you @timhoffm! |
PR summary
Unit test coverage for GTK (both v3 and v3) in our GitHub Actions CI
tests.ymlworkflow is largely skipped at the moment.This is because recent versions of
PyGObject-- as required forimport gito succeed -- are incompatible with thegirepository-1.0system dependency that we install on our Ubuntu 22.04 runners.Specifically, as noted in #29844,
PyGObjectv3.52 adds a requirement ongirepository-2.0.The goal here is to re-enable GTK-related test coverage.
To work around the problem, this pull request suggests pinning the upper-bound version of the
PyGObjectlibrary that we install on the affected Ubuntu 22.04 runners.The
girepository-2.0system dependency is unavailable on Ubuntu 22.04 (jammy) and may not become available on that OS version.We have existing test coverage of
PyGObjectv3.52 on Ubuntu 24.04 withgirepository-2.0- so my reasoning (also described here) is that retaining coverage ofgirepository-1.0is worthwhile.PR checklist
Resolves #29844.
Edit: attempt to clarify the nature of the problem that is being solved by this.
Edit: plurality fixup
Edit: rephrase description again.
Edit: clarify that this may not be a temporary fix (
girepository-2.0may not become available on Ubuntu 22.04).