Skip to content

Commit 1e525dd

Browse files
committed
fix: pin setuptools < 72.2 only for PyPy
1 parent cc3e753 commit 1e525dd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@ requires = [
33
"wheel",
44
# pin setuptools:
55
# https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198
6-
"setuptools>=64,<72.2.0"
6+
# Most likely cause:
7+
# https://github.com/pypa/distutils/issues/283
8+
# Workaround based on this commit:
9+
# https://github.com/harfbuzz/uharfbuzz/commit/9b607bd06fb17fcb4abe3eab5c4f342ad08309d7
10+
"setuptools>=64,<72.2.0; platform_python_implementation == 'PyPy'",
11+
"setuptools>=64; platform_python_implementation != 'PyPy'"
712
]
813
build-backend = "setuptools.build_meta"
914

0 commit comments

Comments
 (0)