5353 name : ' Check if Autoconf files are up to date'
5454 # Don't use ubuntu-latest but a specific version to make the job
5555 # reproducible: to get the same tools versions (autoconf, aclocal, ...)
56- runs-on : ubuntu-24 .04
56+ runs-on : ubuntu-26 .04
5757 container :
5858 image : ghcr.io/python/autoconf:2025.01.02.12581854023
5959 timeout-minutes : 60
6464 run : |
6565 apt update && apt install git -yq
6666 git config --global --add safe.directory "$GITHUB_WORKSPACE"
67- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
67+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
6868 with :
6969 fetch-depth : 1
7070 persist-credentials : false
@@ -96,12 +96,12 @@ jobs:
9696 name : ' Check if generated files are up to date'
9797 # Don't use ubuntu-latest but a specific version to make the job
9898 # reproducible: to get the same tools versions (autoconf, aclocal, ...)
99- runs-on : ubuntu-24 .04
99+ runs-on : ubuntu-26 .04
100100 timeout-minutes : 60
101101 needs : build-context
102102 if : needs.build-context.outputs.run-tests == 'true'
103103 steps :
104- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
104+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
105105 with :
106106 persist-credentials : false
107107 - uses : actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
@@ -239,18 +239,18 @@ jobs:
239239 - false
240240 - true
241241 os :
242- - ubuntu-24 .04
243- - ubuntu-24 .04-arm
242+ - ubuntu-26 .04
243+ - ubuntu-26 .04-arm
244244 exclude :
245245 # Do not test BOLT with free-threading, to conserve resources
246246 - bolt : true
247247 free-threading : true
248248 # BOLT currently crashes during instrumentation on aarch64
249- - os : ubuntu-24 .04-arm
249+ - os : ubuntu-26 .04-arm
250250 bolt : true
251251 include :
252252 # Enable CPU-intensive tests on ARM (default build only)
253- - os : ubuntu-24 .04-arm
253+ - os : ubuntu-26 .04-arm
254254 bolt : false
255255 free-threading : false
256256 test-opts : ' -u cpu'
@@ -270,29 +270,28 @@ jobs:
270270 strategy :
271271 fail-fast : false
272272 matrix :
273- os : [ubuntu-24 .04]
273+ os : [ubuntu-26 .04]
274274 ssllib :
275275 # See Tools/ssl/make_ssl_data.py for notes on adding a new version
276276 # # OpenSSL
277277 # Keep 1.1.1w in our list despite it being upstream EOL and otherwise
278278 # unsupported as it most resembles other 1.1.1-work-a-like ssl APIs
279279 # supported by important vendors such as AWS-LC.
280280 - { name: openssl, version: 1.1.1w }
281- - { name: openssl, version: 3.0.20 }
282- - { name: openssl, version: 3.3.7 }
283- - { name: openssl, version: 3.4.5 }
284- - { name: openssl, version: 3.5.6 }
285- - { name: openssl, version: 3.6.2 }
286- - { name: openssl, version: 4.0.0 }
281+ - { name: openssl, version: 3.0.21 }
282+ - { name: openssl, version: 3.4.6 }
283+ - { name: openssl, version: 3.5.7 }
284+ - { name: openssl, version: 3.6.3 }
285+ - { name: openssl, version: 4.0.1 }
287286 # # AWS-LC
288- - { name: aws-lc, version: 1.72.1 }
287+ - { name: aws-lc, version: 5.0.0 }
289288 env :
290289 SSLLIB_VER : ${{ matrix.ssllib.version }}
291290 MULTISSL_DIR : ${{ github.workspace }}/multissl
292291 SSLLIB_DIR : ${{ github.workspace }}/multissl/${{ matrix.ssllib.name }}/${{ matrix.ssllib.version }}
293292 LD_LIBRARY_PATH : ${{ github.workspace }}/multissl/${{ matrix.ssllib.name }}/${{ matrix.ssllib.version }}/lib
294293 steps :
295- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
294+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
296295 with :
297296 persist-credentials : false
298297 - name : Runner image version
@@ -347,38 +346,29 @@ jobs:
347346 - arch : aarch64
348347 runs-on : macos-26
349348 - arch : x86_64
350- runs-on : ubuntu-24 .04
349+ runs-on : ubuntu-26 .04
351350
352351 runs-on : ${{ matrix.runs-on }}
353352 steps :
354- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
353+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
355354 with :
356355 persist-credentials : false
357356 - name : Build and test
358- run : python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
357+ run : JAVA_HOME="${JAVA_HOME_21_X64:-$JAVA_HOME_21_arm64}" python3 Platforms/Android ci --fast-ci ${{ matrix.arch }}-linux-android
359358
360359 build-ios :
361360 name : iOS
362361 needs : build-context
363362 if : needs.build-context.outputs.run-ios == 'true'
364363 timeout-minutes : 60
365- runs-on : macos-14
364+ runs-on : macos-26
366365 steps :
367- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
366+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
368367 with :
369368 persist-credentials : false
370369
371- # GitHub recommends explicitly selecting the desired Xcode version:
372- # https://github.com/actions/runner-images/issues/12541#issuecomment-3083850140
373- # This became a necessity as a result of
374- # https://github.com/actions/runner-images/issues/12541 and
375- # https://github.com/actions/runner-images/issues/12751.
376- - name : Select Xcode version
377- run : |
378- sudo xcode-select --switch /Applications/Xcode_15.4.app
379-
380370 - name : Build and test
381- run : python3 Platforms/Apple ci iOS --fast-ci --simulator 'iPhone SE (3rd generation),OS=17.5'
371+ run : python3 Platforms/Apple ci iOS --fast-ci
382372
383373 build-emscripten :
384374 name : ' Emscripten'
@@ -394,15 +384,15 @@ jobs:
394384
395385 test-hypothesis :
396386 name : " Hypothesis tests on Ubuntu"
397- runs-on : ubuntu-24 .04
387+ runs-on : ubuntu-26 .04
398388 timeout-minutes : 60
399389 needs : build-context
400390 if : needs.build-context.outputs.run-ubuntu == 'true'
401391 env :
402- OPENSSL_VER : 3.5.6
392+ OPENSSL_VER : 3.5.7
403393 PYTHONSTRICTEXTENSIONBUILD : 1
404394 steps :
405- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
395+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
406396 with :
407397 persist-credentials : false
408398 - name : Register gcc problem matcher
@@ -505,13 +495,13 @@ jobs:
505495 strategy :
506496 fail-fast : false
507497 matrix :
508- os : [ubuntu-24 .04]
498+ os : [ubuntu-26 .04]
509499 env :
510- OPENSSL_VER : 3.5.6
500+ OPENSSL_VER : 3.5.7
511501 PYTHONSTRICTEXTENSIONBUILD : 1
512502 ASAN_OPTIONS : detect_leaks=0:allocator_may_return_null=1:handle_segv=0
513503 steps :
514- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
504+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
515505 with :
516506 persist-credentials : false
517507 - name : Runner image version
@@ -520,10 +510,6 @@ jobs:
520510 run : echo "::add-matcher::.github/problem-matchers/gcc.json"
521511 - name : Install dependencies
522512 run : sudo ./.github/workflows/posix-deps-apt.sh
523- - name : Set up GCC-10 for ASAN
524- uses : egor-tensin/setup-gcc@a2861a8b8538f49cf2850980acccf6b05a1b2ae4 # v2.0
525- with :
526- version : 10
527513 - name : Configure OpenSSL env vars
528514 run : |
529515 echo "MULTISSL_DIR=${GITHUB_WORKSPACE}/multissl" >> "$GITHUB_ENV"
@@ -573,12 +559,12 @@ jobs:
573559
574560 cross-build-linux :
575561 name : Cross build Linux
576- runs-on : ubuntu-latest
562+ runs-on : ubuntu-26.04
577563 timeout-minutes : 60
578564 needs : build-context
579565 if : needs.build-context.outputs.run-ubuntu == 'true'
580566 steps :
581- - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 .0.2
567+ - uses : actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 .0.0
582568 with :
583569 persist-credentials : false
584570 - name : Runner image version
@@ -602,6 +588,9 @@ jobs:
602588 run : ./configure --prefix="$BUILD_DIR/cross-python" --with-build-python="$BUILD_DIR/host-python/bin/python3"
603589 - name : Install cross Python
604590 run : make -j8 install
591+ - name : Display build info
592+ run : |
593+ "$BUILD_DIR/cross-python/bin/python3" -m test.pythoninfo
605594 - name : Run test subset with host build
606595 run : |
607596 "$BUILD_DIR/cross-python/bin/python3" -m test test_sysconfig test_site test_embed
0 commit comments