Skip to content

Commit

Permalink
pin setuptools<72.2 on pypy to workaround build error coming from dis…
Browse files Browse the repository at this point in the history
…tutils

see pypa/distutils#283
  • Loading branch information
anthrotype committed Oct 18, 2024
1 parent 1f6b820 commit 667694a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
[build-system]
requires = ["setuptools"]
requires = [
# pin setuptools on pypy to workaround this bug: https://github.com/pypa/distutils/issues/283
"setuptools<72.2.0; platform_python_implementation == 'PyPy'",
"setuptools; platform_python_implementation != 'PyPy'",
]
build-backend = "setuptools.build_meta"

0 comments on commit 667694a

Please sign in to comment.