gh-122544: Change OS image in GitHub Actions to Ubuntu 24.04 (#122566) · python/cpython@fc233f4

GitHub

@@ -88,7 +88,7 @@ jobs:

8888name: 'Check if generated files are up to date'

8989# Don't use ubuntu-latest but a specific version to make the job

9090# reproducible: to get the same tools versions (autoconf, aclocal, ...)

91-runs-on: ubuntu-22.04

91+runs-on: ubuntu-24.04

9292timeout-minutes: 60

9393needs: check_source

9494if: needs.check_source.outputs.run_tests == 'true'

@@ -237,7 +237,7 @@ jobs:

237237strategy:

238238fail-fast: false

239239matrix:

240-os: [ubuntu-22.04]

240+os: [ubuntu-24.04]

241241openssl_ver: [3.0.15, 3.1.7, 3.2.3, 3.3.2]

242242env:

243243OPENSSL_VER: ${{ matrix.openssl_ver }}

@@ -297,7 +297,7 @@ jobs:

297297298298test_hypothesis:

299299name: "Hypothesis tests on Ubuntu"

300-runs-on: ubuntu-22.04

300+runs-on: ubuntu-24.04

301301timeout-minutes: 60

302302needs: check_source

303303if: needs.check_source.outputs.run_tests == 'true' && needs.check_source.outputs.run_hypothesis == 'true'

@@ -417,7 +417,7 @@ jobs:

417417if: needs.check_source.outputs.run_tests == 'true'

418418strategy:

419419matrix:

420-os: [ubuntu-22.04]

420+os: [ubuntu-24.04]

421421env:

422422OPENSSL_VER: 3.0.15

423423PYTHONSTRICTEXTENSIONBUILD: 1