poetry2nix
poetry2nix copied to clipboard
Convert poetry projects to nix automagically [maintainer=@adisbladis]
This is not a bug report, it's a tip for other with same problem. Since the version 35, cryptography [requires rust](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst#3500---2021-09-29) to build and doesn't respect `CRYPTOGRAPHY_DONT_BUILD_RUST`. I managed to...
Hello, I am trying to set up a basic development environment for Python in a `flake.nix` and based on `poetry2nix`. I am specially interested in having a working environment (like...
I try to use `poetry2nix` with flakes. A simple project with only numpy fails. `poetry.toml`: ``` [tool.poetry] name = "nix-flake-poetry-example" version = "0.1.0" description = "" authors = ["me"] [tool.poetry.dependencies]...
I am developing a few applications using this awesome projects. One thing that bothered me for a while that it takes a lot of code duplication to maintain a derivation...
`poetry` supports the notion of an optional library/application dependency through the use of the `extras` feature. It would be swell if `poetry2nix` supported the ability to create an environment using...
Overrides are a great idea, but it would be good if we eventually got rid of them by making sure packages build without their overrides. To do that, it would...
Background: I have created [a project](https://github.com/RCoeurjoly/nix-poetry-testing) to test the installability of Python packages with poetry2nix. That project tests 2 things: - That the package can be installed using `poetry add...
I'm seeing this: ``` patching script interpreter paths in /nix/store/0rqj5xsicj4rw2hhmwcsyh76ihbnm1w9-python3.8-torch-1.9.0 Traceback (most recent call last): File "/nix/store/6sd8810np0z3k5rsbipgmyq6abfjrvn3-python3.8-numpy-1.21.0/lib/python3.8/site-packages/numpy/core/__init__.py", line 22, in from . import multiarray File "/nix/store/6sd8810np0z3k5rsbipgmyq6abfjrvn3-python3.8-numpy-1.21.0/lib/python3.8/site-packages/numpy/core/multiarray.py", line 12, in from...
Making an empty project and adding mediapipe as a dependency fails to build with error: `Missing suitable source/wheel file entry for mediapipe`. I'm running a NixOS, if that matters. [minimal-example.tar.gz](https://github.com/nix-community/poetry2nix/files/7082174/minimal-example.tar.gz)...
**Summary:** Inside a `nix-shell` environment, a python script that executes another python script as a subprocess will fail if that subprocess tries to import any python dependencies provided by poetry....