Poetry2nix | 301 Members | |
| https://github.com/nix-community/poetry2nix | 54 Servers |
| Sender | Message | Time |
|---|---|---|
| 15 Feb 2024 | ||
| This should have all the context | 15:38:05 | |
| 15:52:24 | ||
| 19:15:53 | ||
| 20 Feb 2024 | ||
| 05:47:13 | ||
| Hello can anyone help me with https://github.com/nix-community/poetry2nix/issues/555? I left the last two comments there explaining what my issue is. | 05:49:31 | |
| 21 Feb 2024 | ||
| is it possible to tell poetry which python version to use for it's commands it's mostly for initializing poetry2nix project with Python version different from nixpkgs default | 10:05:57 | |
| * is it possible to tell poetry which python interpreter binary to use for it's commands? it's mostly for initializing poetry2nix project with Python version different from nixpkgs default | 10:06:13 | |
In reply to @nazarewk:matrix.orglooks like i need poetry env use /path/to/python | 10:28:08 | |
second question: how do I install dependencies without extras? It seems to install cryptography with docs extras generating a conflict between sphinx and jinja versions | 10:29:11 | |
| 10:45:35 | ||
Hello, I am trying to use poetry2nix with flakes but I have an issue. When I use nix run to build and run the project, some .py files are missing in ./result/…/lib/<project-name>/ | 10:47:00 | |
| I have no problem when I am using a default.nix with pretty similar content… | 10:47:42 | |
| Ok I just found that I have to put « projectDir = ./.; » instead of « projectDir = ./.; » as in the flake.nix example file | 10:53:36 | |
In reply to @nazarewk:matrix.orgactually seems like it's env -> pynacl -> sphinx-hook... gotta dig more into it | 11:26:40 | |
| i'm not sure where the dependency comes from | 11:28:11 | |
| * i'm not sure where the dependency comes from, it's not in poetry.lock at all | 11:28:45 | |
| this is the culprit: https://github.com/nix-community/poetry2nix/blob/403d923ea8e2e6cedce3a0f04a9394c4244cb806/overrides/default.nix#L187-L205 | 11:39:50 | |
seems like I need to set up pythonPackagesExtensions any idea how to do that?https://discourse.nixos.org/t/how-to-override-disable-python-build-hooks/37374 | 12:24:38 | |
| seems to be an overlay? o.O https://github.com/NixOS/nixpkgs/blob/937261e3e0f40832e05125159531bd06bd625585/nixos/modules/config/no-x-libs.nix#L71-L76 | 12:26:31 | |
In reply to @nazarewk:matrix.orgFYI: https://matrix.to/#/!VjfUzaKsXokUdnQcvP:nixos.org/$iyPHRxjXSjj9LR_9Rh86G1Yba2iI389Pn_8rZ1bIa3Y?via=nixos.org&via=matrix.org&via=nixos.dev | 13:39:17 | |
| 19:51:00 | ||
| 23 Feb 2024 | ||
| 11:31:28 | ||
| 14:20:16 | ||
| 16:59:47 | ||
| 25 Feb 2024 | ||
| Has anyone managed to build PyMuPDF? It fails on version 1.20.2 with:
| 15:20:25 | |
It already has libclang and setuptools | 15:20:49 | |
| not sure what I can do about it | 15:21:02 | |
| 26 Feb 2024 | ||
| 09:24:21 | ||
| I guess I'll have to make an issue or fix it for myself | 21:15:44 | |
| on the bright side I'll at least learn something about packaging python libraries | 21:16:14 | |