Skip to content

Commit

Permalink
pyproject.toml: pin setuptools < 72.2 to avoid issue with PyPy >=3.8
Browse files Browse the repository at this point in the history
only with setuptools >= 72.2 we get the "TypeError: 'NoneType' object is not subscriptable (key slice(None, None, None))" error when building the extension module on PyPy 3.8+ on Linux and MacOS.

fixup
  • Loading branch information
anthrotype committed Aug 23, 2024
1 parent 8c52d3f commit 38a5a64
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[build-system]
requires = [
"setuptools >= 36.4",
# pinning setuptools until an issue with pypy3 gets fixed upstream:
# https://github.com/pypa/distutils/issues/283
"setuptools >= 36.4, < 72.2",
"wheel",
"setuptools_scm >= 2.1",
"cython >= 0.28.1",
Expand Down

0 comments on commit 38a5a64

Please sign in to comment.