Closed ashkan-leo closed 2 weeks ago
It seems to be slightly more involved then sticking 'meson-python' into the build-sytem overrides, I tried :(.
Edit: Ah yes, it's overwritten in overrides/default.nix. PR incoming.
Till the PR is merged, you can use my branch at https://github.com/TyberiusPrime/poetry2nix/numpy2 in your flake.nix to get unblocked.
Alternatively, you can use wheels via preferWheels = true
(causes everything to prefer wheels), or set preferWheel = true
for only numpy.
At least for me, preferWheel does not lead the wheel being used (preferWheels does though). And yes, I'm using override.
Describe the issue
A project that contains numpy 2 fails to build given numpy 2 has no
setup.py
. Numpy 2 has a pyproject.toml instead. The error is as follow:default.nix
/shell.nix
/flake.nix
:pyproject.toml
:Any advise on how to fix the issue?