Skip to content

Commit 169d664

Browse files
Install different versions of cibuildwheel
This check is based on the Python version
1 parent e067040 commit 169d664

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/code.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ jobs:
9090
- name: Install Python Dependencies
9191
# cibuildwheel 3.0.0 dropped support for Python 3.7. We still want to
9292
# support 3.7 for the time being.
93-
run: pip install build cibuildwheel==2.23.3
93+
# Python 3.14 isn't supported on lower versions of cibuildwheel, so conditionally install when required
94+
run: |
95+
pip install build
96+
[ ${{matrix.python }} == "cp314" ] && pip install cibuildwheel || pip install cibuildwheel==2.23.3
97+
pip freeze
98+
shell: bash
9499

95100
- name: Build Wheel
96101
run: cibuildwheel --output-dir dist

0 commit comments

Comments
 (0)