-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Trying to use librepcb-parts-generator in a project on an m1 Mac fails because the version of nlopt is pinned to 2.71, which I think is because CadQuery is pinned very specifically at
librepcb-parts-generator/pyproject.toml
Line 10 in d31e8e5
| "cadquery == 2.3.1", |
"cadquery == 2.3.1",
uv add git+https://github.com/LibrePCB/librepcb-parts-generator.git
Resolved 47 packages in 630ms
error: Distribution `nlopt==2.7.1 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform
hint: You're on macOS (`macosx_15_0_arm64`), but `nlopt` (v2.7.1) only has wheels for the following platforms: `manylinux_2_17_x86_64`, `manylinux2014_x86_64`, `macosx_10_9_x86_64`, `win_amd64`; consider adding your platform to `tool.uv.required-environments` to ensure uv resolves to a version with compatible wheels
It looks like nlopt has newer wheels https://pypi.org/project/nlopt/#nlopt-2.9.1-cp39-cp39-macosx_11_0_arm64.whl so if we bumped cadquery, it may resolve the nlopt issue.
cadquery==2.5.2 and nlopt==2.9.1 work on MacOS.
Suggested fix is to not freeze the version so tightly, we could do cadquery ~=2, or cadquery ~=2.5
Metadata
Metadata
Assignees
Labels
No labels