poetry2nix
poetry2nix copied to clipboard
Convert poetry projects to nix automagically [maintainer=@adisbladis]
### Describe the issue The latest version of `jax` depends on [`etils`](https://github.com/google/etils), which has a bit of an odd packaging structure. Poetry seems to assign etils as its own dependency,...
Is there a plan to update "vendored" poetry to 1.2.0b2? I ask because I'm facing what seems a [resolver problem with poetry 1.1.13](https://github.com/python-poetry/poetry/discussions/5936), apparently already fixed in poetry 1.2.0b2, that...
### Describe the issue I've created a super simple test repository here: https://github.com/pmiddend/poetry2nix-numpy-test The pyproject.toml contains just `numpy-1.22.4` as a dependency, the poetry2nix version is `1.31.0`. Building with `nix-build -A...
### Describe the issue Building the below (from [this project](https://github.com/linz/oidc-provider)) using latest nixpkgs results in the following error: > ModuleNotFoundError: No module named 'flit_scm' ### Additional context - [`shell.nix`](https://github.com/linz/oidc-provider/blob/3a3f5384bd6ecc18c1ded1736a02ea0eb29877af/shell.nix) -...
### Describe the issue I just copied `pyproject.toml` and `poetry.lock` from the tip of https://github.com/python-poetry/poetry and used `poetry2nix.mkPoetryApplication` to try to package `poetry` like is done in `nixpkgs` (I also...
`mkPoetryApplication` fails when a editable path dependency exists in `pyproject.toml`, similar to #284 This PR fix the problem by removing `develop` attributes in path / git dependencies in hooks.
As of Poetry ≥ 1.2.0a1, specifically python-poetry/poetry@9a68da31b088b71f3f84868892b4940ba7e0481e (python-poetry/poetry#2826), `setuptools` is no longer excluded from `poetry.lock`. This apparently leads to infinite recursion on various packages that transitively depend `setuptools`. Reproduction: ```console...
``` >>> from shapely.geos import leos Traceback (most recent call last): File "", line 1, in File "/home/me/projects/q3/.venv/lib/python3.10/site-packages/shapely/geos.py", line 83, in CDLL(geos_whl_so[0]) File "/nix/store/40n9pd613v8fc3x39yjrgs1i7d4q8yl0-python3-3.10.4/lib/python3.10/ctypes/__init__.py", line 374, in __init__ self._handle =...
### Describe the issue I'm trying to make use of poetry2nix where we have a private artifact repository on google cloud. Normally the keyring plugin keyrings.google-artifactregistry-auth allows Poetry to authenticate...
I have a simple poetry package here: https://codeberg.org/Uli/flake-tools containing a python package named `flaketools` and the `pyproject.toml` is properly declaring a script called `nixx`. Here: https://codeberg.org/Uli/test1 I have a flake...