bug(tooling,deps): macOS installation breaks for python >= 3.13 - can't build coincurve
Hi everyone, just tried to install/prepare the repository on a Mac (MacBook Air M1, macOS Sonoma 14.4.1, don't think issue is system related though).
Installation broke due to the coincurve==20.0.0 dependency, some underlying CMake errors, starting with:
× Failed to build `coincurve==20.0.0`
├─▶ The build backend returned an error
╰─▶ Call to `hatchling.build.build_wheel` failed (exit status: 1)
After some research I came to that this is likely due to the Python version which was picked for me by the uv installation (3.13), which seems to be conflicting with coincurve which only introduces Python 3.13 support with the v21.0.0 release.
I then down-pinned the Python version to some 3.12 version with uv python pin cpython-3.12.9-macos-aarch64-none which made things work again.
Not sure what the solution is on your side, if you want to limit your upper Python version or update the coincurve dependency. Just wanted to report here.
Probably because the cmake version is 4.0.
Until the merge of eels+eest is completed we have to use ethereum-spec-evm-resolver which forces use of coincurve<21 which means that we will have to avoid python 3.13 and later until the merge has been completed. For now try to stick to sth like 3.12.10