Skip to content

Commit 4d400f4

Browse files
authored
Use Python 3.12 to run builds on Windows (#453)
I'm not sure why we setup 3.11 then used 3.9 later. I'm hoping using 3.12 fixes the directory cleanup (ref #427)
1 parent 4a36797 commit 4d400f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/windows.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ jobs:
106106
- name: Install Python
107107
uses: actions/setup-python@v5
108108
with:
109-
python-version: '3.11'
109+
python-version: '3.12'
110110

111111
- name: Download pythonbuild Executable
112112
uses: actions/download-artifact@v4
@@ -117,14 +117,14 @@ jobs:
117117
# don't get compiled properly.
118118
- name: Bootstrap Python environment
119119
run: |
120-
py.exe -3.9 build-windows.py --help
120+
py.exe -3.12 build-windows.py --help
121121
122122
- name: Build
123123
if: ${{ ! matrix.dry-run }}
124124
shell: cmd
125125
run: |
126126
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\${{ matrix.vcvars }}"
127-
py.exe -3.9 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }}
127+
py.exe -3.12 build-windows.py --python cpython-${{ matrix.python }} --sh c:\cygwin\bin\sh.exe --options ${{ matrix.build_options }}
128128
129129
- name: Validate Distribution
130130
if: ${{ ! matrix.dry-run }}

0 commit comments

Comments
 (0)