Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[MNT]: ci: ubuntu-20.04 GitHub Actions runner will soon be unmaintained #29766

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

Closed
jayaddison opened this issue Mar 18, 2025 · 5 comments · Fixed by #29796
Closed

[MNT]: ci: ubuntu-20.04 GitHub Actions runner will soon be unmaintained #29766

jayaddison opened this issue Mar 18, 2025 · 5 comments · Fixed by #29796
Milestone

Comments

@jayaddison
Copy link
Contributor

Summary

The ubuntu-20.04 GitHub Actions runner image, currently used in the tests.yml workflow will soon be unsupported, as notified at: actions/runner-images#11101

Proposed fix

Ubuntu 20.04 itself is a long-term-support release, however it is also nearing the end of that support cycle, and will no longer be supported by Canonical from May 2025: https://ubuntu.com/20-04

I'd suggest removing the ubuntu-20.04 jobs from the tests.yml workflows at the end of this month (March 2025).

@timhoffm
Copy link
Member

Thanks for the reminder.

We have two runners with ubuntu-20.04:

  • - os: ubuntu-20.04
    python-version: '3.10'

    Per our policy, we're supporting minor Python versions that are released in the last 42 months. For Python 3.10 this means we can officially drop support on Apr. 10. Given that I don't think we'll release until then, I'm ok with simply removing this job, even though we formally have a short untested period for 3.10.

  • - name-suffix: "(Minimum Versions)"
    os: ubuntu-20.04
    python-version: '3.10'

    We still want a min-version check. This should be moved to ubuntu-22.04 and python 3.11.

@jayaddison
Copy link
Contributor Author

Per our policy, we're supporting minor Python versions that are released in the last 42 months. For Python 3.10 this means we can officially drop support on Apr. 10. Given that I don't think we'll release until then, I'm ok with simply removing this job, even though we formally have a short untested period for 3.10.

That job does seem to test one or two other factors: disabling link-time optimization, and something to do with matplotlib-inline. Perhaps I could try updating it to use ubuntu-22.04 (or even ubuntu-24.04) instead, to continue to exercise those?

@timhoffm
Copy link
Member

You're right. This does more and shouldn't be removed without replacement.

matplotlib-inline: The backend mapping was moved from IPython to matplotlib, see #27948. The test ensures that newer matplotlib versions still work with older ipython. This specific addition is tremporary, but I agree that it's too early to drop it. However, it's in a similar spirit as "Minimum versions", I therefore suggest to move this into requirements/testing/minver.txt and test it with that job.

The no-lto can be moved to the regular python 3.11 job.

@tacaswell tacaswell added this to the v3.10.2 milestone Mar 18, 2025
@tacaswell
Copy link
Member

Normally we don't backport CI changes, but given that these jobs are going away we should drag this back to atleast the 3.10.x branch.

@tacaswell
Copy link
Member

On second thought, we can not just straight backport it as we still should test py3.10 on mpl3.10.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants