-
-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
gh-122544: Change OS image in GitHub Actions to ubuntu-24.04 #122566
base: main
Are you sure you want to change the base?
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Failing due to @Damien-Chen are you able to test this please? A |
Sure!. No problem! |
The A |
Let me check if I can test it locally on my WSL2 |
It means that adding
|
It seems same error, I run on my forked repo in this |
Sorry, I meant you need to run |
It seems that the below three file cause error in I test it in several method. First is run Maybe there are some modification between The whole process and result were conduct in my fork repo here And the attached file is the output of running |
For |
144781b
to
05cc76b
Compare
(Updating branch to re-trigger CLA bot, which got stuck a few days ago.) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, CI changes look good to me. I'd like someone else (@corona10? @erlend-aasland?) to review the configure + libmpdec-dev changes.
@Damien-Chen Please could you resolve the conflicts? @erlend-aasland @corona10 Please could you check the configure + libmpdec-dev changes here? We'll also need to upgrade doctest soon (see #125236), but that can be a separate PR. |
I'll check it later today, when I'm back on my laptop. |
cd4be03
to
753387e
Compare
Resolved conflict. |
Should we merge this as early as possible? |
There's no rush to merge this, it is currently blocked on review of the autoconf / configure changes. Most likely we will need to co-ordinate updating e.g. the docker images to Ubuntu 24 too. cc @corona10 A |
I will try to take a look at overall status through this weekend |
@Damien-Chen cc @erlend-aasland Would you like to update
to And rerun |
@corona10 |
eb574f4
to
49e5b88
Compare
Hmm did you rerun |
I rerun However it fails on the following check: I ran it on my test branch, you can take a look at here. |
You should re-generate files it's not an optional. if the CI should be updated, than we should fix the CI. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cpython/.github/workflows/build.yml
Lines 43 to 47 in 4b421e8
check_generated_files: | |
name: 'Check if generated files are up to date' | |
# Don't use ubuntu-latest but a specific version to make the job | |
# reproducible: to get the same tools versions (autoconf, aclocal, ...) | |
runs-on: ubuntu-22.04 |
Please update above file and please rerun make regen-configure
. (again it's not an optional)
And let's take a look at what should we fix more. (maybe WASI)
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
Yes, I updated the above CI file and add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Damien-Chen cc @erlend-aasland @hugovk
Okay, so I think that we should modify CI to use the container image that we published rather than using baseimage
See how can we do that: https://docs.github.com/en/actions/writing-workflows/choosing-where-your-workflow-runs/running-jobs-in-a-container
So please revert related files to follow #125740
I will submit the PR soon
Change base OS image in Github Actions from
ubuntu-22.04
toubuntu-24.04