Skip to content

Commit

Permalink
Avoid using latest cmake from PyPI, as setuptools-scm generated type …
Browse files Browse the repository at this point in the history
…annotations incompatible with Python 2
  • Loading branch information
YannickJadoul committed Feb 29, 2024
1 parent ff7dc90 commit 5fb2d3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ jobs:
- name: Run cibuildwheel
run: |
python -c "import toml; p = toml.load(open('pyproject.toml')); r = p['build-system']['requires']; r[r.index('wheel')] = 'wheel<0.40'; toml.dump(p, open('pyproject.toml', 'w'))"
python -c "import toml; p = toml.load(open('pyproject.toml')); r = p['build-system']['requires']; r[r.index('wheel')] += '<0.40'; r[r.index('cmake>=3.18')] += '<=3.27.9'; toml.dump(p, open('pyproject.toml', 'w'))"
cibuildwheel
- name: Check built wheels
Expand Down

0 comments on commit 5fb2d3c

Please sign in to comment.