diff --git a/pyproject.toml b/pyproject.toml index 591a65e..fb39093 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,8 @@ [build-system] requires = [ - "setuptools", + # 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'", "wheel", "setuptools_scm", "cython",