You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Change base OS image to Ubuntu-24.04 in CI testing #122544
Sure!, Of course, I'd love to contribute to this, let me first investigate if it would affect the result of CI testing if just simply change ubuntu-22.04 to ubuntu-24.04.
We are also using Ubuntu 22.04 for generating the configure script in the Docker image but I don't think we should change this one. This is in Tools/build/regen-configure.sh (I don't know whether the CI/CD is using its own packages or whether is using the docker script to check the configuration scripts)
Some other yml file based on ubunut-latest, for exmaple: in jit.yml. based on https://github.com/actions/runner-images description, ubuntu-latest is actually ubuntu-22.04, should those file mentioned ubuntu-latest need to upgrade ubuntu version ?
According to there discussion in actions/runner-images#9691
The GA will be somewhere in August-2024, I think it should be soon.
I think we can move all CI-testing step-by-step.
First change trivial CI testiing(like readthedocs) to ubuntu-24.04 to make sure everything works correctly.
If everthing goes well, then we can wait its GA and move core part(like checking JIT) to ubuntu-24.04 gradually
Activity
Eclips4 commentedon Aug 1, 2024
cc @hugovk @ezio-melotti
[-]Change base OS image to Ubuntu-24.04 in ci.yaml[/-][+]Change base OS image to Ubuntu-24.04 in CI testing[/+]hugovk commentedon Aug 1, 2024
Thanks for the report, we're using
ubuntu-22.04in Read the Docs, Azure Pipelines and GitHub Actions:Yes, let's upgrade, assuming all the dependencies and everything installs fine.
Would you like to open some PRs? I suggest a separate PR for each of Read the Docs, Azure Pipelines and GitHub Actions.
Damien-Chen commentedon Aug 1, 2024
Sure!, Of course, I'd love to contribute to this, let me first investigate if it would affect the result of CI testing if just simply change
ubuntu-22.04toubuntu-24.04.picnixz commentedon Aug 1, 2024
We are also using Ubuntu 22.04 for generating the configure script in the Docker image but I don't think we should change this one. This is in
Tools/build/regen-configure.sh(I don't know whether the CI/CD is using its own packages or whether is using the docker script to check the configuration scripts)hugovk commentedon Aug 1, 2024
The comment at the top says they should match:
cpython/Tools/build/regen-configure.sh
Lines 5 to 8 in fda6bd8
Which should be the same as this one:
cpython/.github/workflows/build.yml
Lines 43 to 47 in fda6bd8
picnixz commentedon Aug 1, 2024
Oh then we should update both of them then! (and I'll need to update my PR in the devguide as well)
Damien-Chen commentedon Aug 2, 2024
Some other
ymlfile based onubunut-latest, for exmaple: injit.yml. based onhttps://github.com/actions/runner-images description,
ubuntu-latestis actuallyubuntu-22.04, should those file mentionedubuntu-latestneed to upgrade ubuntu version ?hugovk commentedon Aug 2, 2024
No, let's not change any
ubuntu-latest.In fact, https://github.com/actions/runner-images?tab=readme-ov-file#available-images says
ubuntu-24.04is still beta, maybe we should wait until it is in GA (General Availability)?Do you know when GA is planned?
Damien-Chen commentedon Aug 2, 2024
According to there discussion in
actions/runner-images#9691
The GA will be somewhere in August-2024, I think it should be soon.
I think we can move all CI-testing step-by-step.
First change trivial CI testiing(like readthedocs) to
ubuntu-24.04to make sure everything works correctly.If everthing goes well, then we can wait its GA and move core part(like checking JIT) to
ubuntu-24.04graduallygh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (#122568)
pythongh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (p…
pythongh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (p…
[3.13] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (G…
20 remaining items
[3.13]pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24…
pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (p…
[3.13] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#…
luapun commentedon Nov 25, 2024
luapun commentedon Nov 25, 2024
pythongh-122544: Change OS image in Azure pipeline to Ubuntu 24.04 (p…
pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (p…
[3.12] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#…
pythongh-122544: Change OS image in Azure pipeline to Ubuntu 24.04 (p…
pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (p…
pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (p…
[3.11] gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#…
pythongh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (p…
[3.10] gh-122544: Change OS image in GitHub Actions to Ubuntu 22.04 (G…
[3.9] gh-122544: Change OS image in GitHub Actions to Ubuntu 22.04 (#…