Skip to content
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

upgrade GitHub Actions image used for most CI jobs and remove Python 2.7 CI testing #21396

Merged
merged 13 commits into from
Sep 15, 2024

Conversation

tdyas
Copy link
Contributor

@tdyas tdyas commented Sep 11, 2024

As part of the Tonic / Hyper 1.0 upgrade, we need to upgrade to a newer version of the Ubuntu image used in CI (from 20.04 to at least 22.04) due to a transitive dependency requiring a newer C compiler.

Upgrade the CI image used for most CI builds to ubuntu-22.04. This is currently the same image as ubuntu-latest but pins the Ubuntu distribution used explicitly. (The distribution is pinned to 22.04 for the ARM runner image, so we do not want the x86 jobs to diverge.)

Python 2.7 was removed from the newer Ubuntu image, however. To avoid having to re-add Python 2.7 to the CI jobs (since it is well past its 1/1/2020 end of life date), we announced v2.24.x as no longer being tested with Python 2.7. Consequently, this PR also removes any uses of Python 2.7 from (CI) testing.

@tdyas tdyas added category:internal CI, fixes for not-yet-released features, etc. release-notes:not-required PR doesn't require mention in release notes labels Sep 11, 2024
@tdyas tdyas self-assigned this Sep 11, 2024
@tdyas tdyas removed the release-notes:not-required PR doesn't require mention in release notes label Sep 11, 2024
@tdyas tdyas changed the title [WIP] upgrade GitHub Actions image used for most CI jobs upgrade GitHub Actions image used for most CI jobs and remove Python 2.7 CI testing Sep 11, 2024
@tdyas tdyas marked this pull request as ready for review September 12, 2024 00:23
@tdyas tdyas requested review from huonw and benjyw September 12, 2024 00:23
@tdyas tdyas force-pushed the drop_python_2.7_ci_testing branch from f6e8a1a to 6fc7012 Compare September 13, 2024 06:21
@tdyas tdyas requested a review from benjyw September 13, 2024 18:56
@tdyas tdyas merged commit 01137e5 into pantsbuild:main Sep 15, 2024
25 checks passed
@tdyas tdyas deleted the drop_python_2.7_ci_testing branch September 15, 2024 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:internal CI, fixes for not-yet-released features, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants