From 9b607bd06fb17fcb4abe3eab5c4f342ad08309d7 Mon Sep 17 00:00:00 2001 From: Cosimo Lupo Date: Tue, 29 Oct 2024 10:28:42 +0100 Subject: [PATCH] pyproject.toml: pin setuptools < 72.2 only for PyPy https://github.com/pypa/distutils/issues/283 still seems not fixed... https://github.com/harfbuzz/uharfbuzz/issues/216 --- pyproject.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index fa199e2..6efea50 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,8 @@ [build-system] requires = [ - "setuptools >= 36.4", + # pin setuptools on pypy to workaround this bug: https://github.com/pypa/distutils/issues/283 + "setuptools >= 36.4, < 72.2; platform_python_implementation == 'PyPy'", + "setuptools >= 36.4; platform_python_implementation != 'PyPy'", "wheel", "setuptools_scm >= 2.1", "cython >= 0.28.1",