poetry2nix
poetry2nix copied to clipboard
Convert poetry projects to nix automagically [maintainer=@adisbladis]
After installing `azure-eventhub-checkpointstoreblob-aio` to my project, trying to import `azure.eventhub.extensions.checkpointstoreblobaio` gives a `ModuleNotFoundError`. Example project [here](https://gist.github.com/lunik1/68128c63ea846059b95cfba5e963fcc8). I do not see the same issue with `mach-nix`.
Python is heavily used in the data science and machine learning community. It would therefore be great to have a basic setup of versions that is known to be working...
### Describe the issue When trying to build project replacing `pkgs.python310` with `pkgs.pypy38` causes following error: ``` Sourcing pip-install-hook Sourcing setuptools-build-hook Using setuptoolsShellHook @nix { "action": "setPhase", "phase": "unpackPhase" }...
Under `[tool.poetry.dependencies]`, one can set the Python version, e.g. `python = "^3.8"` `poetry2nix` should respect that requirement.
Hi, I'm trying to build a poetry application with poetry2nix on NixOS unstable. Here's the nix file: ```nix { lib, pkgs, poetry2nix }: let repo = fetchGit { url =...
I recently fixed a typo that I came across while trying to get the `passthru` argument to work: https://github.com/nix-community/poetry2nix/pull/509/commits/390173bce21aa5eaa65ea7171d75a75382e964f5 Unfortunately, I still could not find out how that could be...
This is the error that signals the missing dependency (after running `nix-build` with the recommended `default.nix` file): ``` Running command python setup.py egg_info Traceback (most recent call last): File "",...
### Describe the issue I'm trying to build a package that has a dev dependency on `twine`. As a transitive dependency, it pulls in `importlib-metadata`. This package used to be...
I'd like to add a package into poetry that lives in another folder. I specify the path to it like described in https://python-poetry.org/docs/dependency-specification/#path-dependencies: ``` [tool.poetry.dependencies] # directory my-package = {...
### Describe the issue I'm trying to package a Python 2.7-only project using a Nix expression like: ```nix pkgs.poetry2nix.mkPoetryApplication { python = pkgs.python27; projectDir = ./.; } ``` This fails...