Skip to content

Commit 1a79f8c

Browse files
CI: Bring back setup-python
1 parent 266d8d3 commit 1a79f8c

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/build-wheels.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,21 @@ jobs:
114114
# Build and test wheels
115115
- uses: actions/checkout@v4
116116

117-
# Use MSVC with Ninja on Windows
118-
- uses: ilammy/msvc-dev-cmd@v1.13.0
117+
# This python is used to patch the project, not to build!
118+
- name: Set up Python
119119
if: ${{ !inputs.dry-run }}
120+
uses: actions/setup-python@v5
121+
with:
122+
python-version: "3.13"
120123

121124
- name: Apply patch
122125
if: ${{ !inputs.dry-run }}
123126
run: python apply_patch.py && python set_vtk_version.py ${{ inputs.vtk-tag }}
124127

128+
# Use MSVC with Ninja on Windows
129+
- uses: ilammy/msvc-dev-cmd@v1.13.0
130+
if: ${{ !inputs.dry-run }}
131+
125132
- name: Build wheel
126133
if: ${{ !inputs.dry-run }}
127134
uses: pypa/cibuildwheel@v3.3.1

0 commit comments

Comments
 (0)