Skip to content

Commit

Permalink
Pin setuptools in the right place
Browse files Browse the repository at this point in the history
It needs to be pinned in pyproject.toml, not in the outer environment.
  • Loading branch information
bmerry committed Feb 22, 2022
1 parent 5ef838e commit 9ce15de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions manylinux/before_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@

set -e -u

# setuptools is pinned to an older version to work around
# https://github.com/pypa/setuptools/issues/3130
pip install jinja2==3.0.3 pycparser==2.21 setuptools==59.8.0
pip install jinja2==3.0.3 pycparser==2.21
./bootstrap.sh
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[build-system]
requires = ["setuptools", "wheel", "pybind11==2.9.1", "setuptools_scm==6.4.2"]
# Setuptools is pinned to an older version due to
# https://github.com/pypa/setuptools/issues/3130
requires = ["setuptools==59.8.0", "wheel", "pybind11==2.9.1", "setuptools_scm==6.4.2"]

[tool.cibuildwheel]
build-frontend = "build"
Expand Down

0 comments on commit 9ce15de

Please sign in to comment.