-
-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nix build including polars causes ModuleNotFoundError: No module named 'maturin' #1677
Comments
So the quick fix is to add preferWheel (or preferWheels). As for building it with poetry2nix, we need an override.
edit: Though I don't know how useful the wheels for polars are.. they only seem to be available for python 3.8? |
Same problem here. Didn't manage to get it running without
|
that reads as if it's not using the wheel. Here's what I had for 1.1.0 in my somewhat stalled 'many overrides' PR:
but that fails with |
Describe the issue
In testing poetry2nix as a potential upgrade to my current workflow, I developed a simply application in attempt to get it to build with nix. The build works fine in poetry, however when building with poetry2nix it fails with the error
ModuleNotFoundError: No module named 'maturin'
Additional context
Found information about
preferWheels
in the edgecases.md file. Implementing this in mydefault.nix
does allow the build to complete. I'm reporting this as the edgecases file suggests you'd like to be informed about this issue.shell.nix
:default.nix
pyproject.toml
:poetry.lock
:Full output of the build attempt:
Thanks!
GS
The text was updated successfully, but these errors were encountered: