@@ -100,7 +100,7 @@ jobs:
100100 name : ' Check if Autoconf files are up to date'
101101 # Don't use ubuntu-latest but a specific version to make the job
102102 # reproducible: to get the same tools versions (autoconf, aclocal, ...)
103- runs-on : ubuntu-24 .04
103+ runs-on : ubuntu-26 .04
104104 container :
105105 image : ghcr.io/python/autoconf:2025.01.02.12581854023
106106 timeout-minutes : 60
@@ -143,7 +143,7 @@ jobs:
143143 name : ' Check if generated files are up to date'
144144 # Don't use ubuntu-latest but a specific version to make the job
145145 # reproducible: to get the same tools versions (autoconf, aclocal, ...)
146- runs-on : ubuntu-24 .04
146+ runs-on : ubuntu-26 .04
147147 timeout-minutes : 60
148148 needs : build-context
149149 if : needs.build-context.outputs.run-tests == 'true'
@@ -253,16 +253,16 @@ jobs:
253253 strategy :
254254 fail-fast : false
255255 matrix :
256- # macos-26 is Apple Silicon, macos-15 -intel is Intel.
257- # macos-15 -intel only runs tests against the GIL-enabled CPython.
256+ # macos-26 is Apple Silicon, macos-26 -intel is Intel.
257+ # macos-26 -intel only runs tests against the GIL-enabled CPython.
258258 os :
259259 - macos-26
260- - macos-15 -intel
260+ - macos-26 -intel
261261 free-threading :
262262 - false
263263 - true
264264 exclude :
265- - os : macos-15 -intel
265+ - os : macos-26 -intel
266266 free-threading : true
267267 uses : ./.github/workflows/reusable-macos.yml
268268 with :
@@ -286,18 +286,18 @@ jobs:
286286 - false
287287 - true
288288 os :
289- - ubuntu-24 .04
290- - ubuntu-24 .04-arm
289+ - ubuntu-26 .04
290+ - ubuntu-26 .04-arm
291291 exclude :
292292 # Do not test BOLT with free-threading, to conserve resources
293293 - bolt : true
294294 free-threading : true
295295 # BOLT currently crashes during instrumentation on aarch64
296- - os : ubuntu-24 .04-arm
296+ - os : ubuntu-26 .04-arm
297297 bolt : true
298298 include :
299299 # Enable CPU-intensive tests on ARM (default build only)
300- - os : ubuntu-24 .04-arm
300+ - os : ubuntu-26 .04-arm
301301 bolt : false
302302 free-threading : false
303303 test-opts : ' -u cpu'
@@ -317,7 +317,7 @@ jobs:
317317 strategy :
318318 fail-fast : false
319319 matrix :
320- os : [ubuntu-24 .04]
320+ os : [ubuntu-26 .04]
321321 ssllib :
322322 # See Tools/ssl/make_ssl_data.py for notes on adding a new version
323323 # # OpenSSL
@@ -393,38 +393,29 @@ jobs:
393393 - arch : aarch64
394394 runs-on : macos-26
395395 - arch : x86_64
396- runs-on : ubuntu-24 .04
396+ runs-on : ubuntu-26 .04
397397
398398 runs-on : ${{ matrix.runs-on }}
399399 steps :
400400 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
401401 with :
402402 persist-credentials : false
403403 - name : Build and test
404- run : python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
404+ run : JAVA_HOME="${JAVA_HOME_21_X64:-$JAVA_HOME_21_arm64}" python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
405405
406406 build-ios :
407407 name : iOS
408408 needs : build-context
409409 if : needs.build-context.outputs.run-ios == 'true'
410410 timeout-minutes : 60
411- runs-on : macos-14
411+ runs-on : macos-26
412412 steps :
413413 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
414414 with :
415415 persist-credentials : false
416416
417- # GitHub recommends explicitly selecting the desired Xcode version:
418- # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
419- # This became a necessity as a result of
420- # https://github.com/actions/runner-images/issues/12541 and
421- # https://github.com/actions/runner-images/issues/12751.
422- - name : Select Xcode version
423- run : |
424- sudo xcode-select --switch /Applications/Xcode_15.4.app
425-
426417 - name : Build and test
427- run : python3 Platforms/Apple ci iOS --fast-ci --simulator 'iPhone SE (3rd generation),OS=17.5'
418+ run : python3 Platforms/Apple ci iOS --fast-ci
428419
429420 build-emscripten :
430421 name : ' Emscripten'
@@ -440,7 +431,7 @@ jobs:
440431
441432 test-hypothesis :
442433 name : " Hypothesis tests on Ubuntu"
443- runs-on : ubuntu-24 .04
434+ runs-on : ubuntu-26 .04
444435 timeout-minutes : 60
445436 needs : build-context
446437 if : needs.build-context.outputs.run-ubuntu == 'true'
@@ -551,7 +542,7 @@ jobs:
551542 strategy :
552543 fail-fast : false
553544 matrix :
554- os : [ubuntu-24 .04]
545+ os : [ubuntu-26 .04]
555546 env :
556547 OPENSSL_VER : 3.5.7
557548 PYTHONSTRICTEXTENSIONBUILD : 1
@@ -566,10 +557,6 @@ jobs:
566557 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
567558 - name : Install dependencies
568559 run : sudo ./.github/workflows/posix-deps-apt.sh
569- - name : Set up GCC-10 for ASAN
570- uses : egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4 # v2.0
571- with :
572- version : 10
573560 - name : Configure OpenSSL env vars
574561 run : |
575562 echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> "$GITHUB_ENV"
@@ -619,7 +606,7 @@ jobs:
619606
620607 cross-build-linux :
621608 name : Cross build Linux
622- runs-on : ubuntu-latest
609+ runs-on : ubuntu-26.04
623610 timeout-minutes : 60
624611 needs : build-context
625612 if : needs.build-context.outputs.run-ubuntu == 'true'
@@ -648,6 +635,9 @@ jobs:
648635 run : ./configure --prefix="$BUILD_DIR/cross-python" --with-build-python="$BUILD_DIR/host-python/bin/python3"
649636 - name : Install cross Python
650637 run : make -j8 install
638+ - name : Display build info
639+ run : |
640+ "$BUILD_DIR/cross-python/bin/python3" -m test.pythoninfo
651641 - name : Run test subset with host build
652642 run : |
653643 "$BUILD_DIR/cross-python/bin/python3" -m test test_sysconfig test_site test_embed
0 commit comments