Skip to content

Commit

Permalink
fix: pin setuptools < 72.2 only for PyPy
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Oct 29, 2024
1 parent cc3e753 commit 1e525dd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ requires = [
"wheel",
# pin setuptools:
# https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198
"setuptools>=64,<72.2.0"
# Most likely cause:
# https://github.com/pypa/distutils/issues/283
# Workaround based on this commit:
# https://github.com/harfbuzz/uharfbuzz/commit/9b607bd06fb17fcb4abe3eab5c4f342ad08309d7
"setuptools>=64,<72.2.0; platform_python_implementation == 'PyPy'",
"setuptools>=64; platform_python_implementation != 'PyPy'"
]
build-backend = "setuptools.build_meta"

Expand Down

0 comments on commit 1e525dd

Please sign in to comment.