Skip to content

Commit f1363d8

Browse files
committed
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 actions/runner-images#13468 Signed-off-by: Angus Gratton <angus@redyak.com.au>
1 parent b14d129 commit f1363d8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ports_windows.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,12 @@ jobs:
4545
env:
4646
CI_BUILD_CONFIGURATION: ${{ matrix.configuration }}
4747
steps:
48+
- name: Install Python 3.11
49+
# As of 20260112 the default Python version in Windows image is 3.12, which breaks settrace tests
50+
# Use 3.11 for now
51+
uses: actions/setup-python@v6
52+
with:
53+
python-version: '3.11'
4854
- name: Install Visual Studio ${{ matrix.visualstudio }}
4955
if: matrix.custom_vs_install
5056
shell: bash

0 commit comments

Comments
 (0)