From f1363d85406db17c63d54df3d2612bf854148105 Mon Sep 17 00:00:00 2001 From: Angus Gratton Date: Thu, 22 Jan 2026 11:36:55 +1100 Subject: [PATCH] github: Install Python 3.11 for Windows CI runs. As of January 12 the default Python version changed from 3.9 to 3.12, and 3.12 has issues running the settrace tests. 3.13 seems to also have some issues, so setting 3.11 for now. See https://github.com/actions/runner-images/issues/13468 Signed-off-by: Angus Gratton --- .github/workflows/ports_windows.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ports_windows.yml b/.github/workflows/ports_windows.yml index 793eba36a7..5318a85198 100644 --- a/.github/workflows/ports_windows.yml +++ b/.github/workflows/ports_windows.yml @@ -45,6 +45,12 @@ jobs: env: CI_BUILD_CONFIGURATION: ${{ matrix.configuration }} steps: + - name: Install Python 3.11 + # As of 20260112 the default Python version in Windows image is 3.12, which breaks settrace tests + # Use 3.11 for now + uses: actions/setup-python@v6 + with: + python-version: '3.11' - name: Install Visual Studio ${{ matrix.visualstudio }} if: matrix.custom_vs_install shell: bash