Skip to content

Commit 44b1ef4

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

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/code.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ 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: pip install build "cibuildwheel==2.23.3; python_version < '3.14'" "cibuildwheel; python_version >= '3.14'"
9495

9596
- name: Build Wheel
9697
run: cibuildwheel --output-dir dist

0 commit comments

Comments
 (0)