--- pyproject.toml.orig 2024-11-11 14:45:18 +++ pyproject.toml 2024-11-11 14:44:54 @@ -3,7 +3,12 @@ "wheel", # pin setuptools: # https://github.com/airspeed-velocity/asv/pull/1426#issuecomment-2290658198 - "setuptools>=64,<72.2.0" + # Most likely cause: + # https://github.com/pypa/distutils/issues/283 + # Workaround based on this commit: + # https://github.com/harfbuzz/uharfbuzz/commit/9b607bd06fb17fcb4abe3eab5c4f342ad08309d7 + "setuptools>=64,<72.2.0; platform_python_implementation == 'PyPy'", + "setuptools>=64; platform_python_implementation != 'PyPy'" ] build-backend = "setuptools.build_meta"