Poetry2nix | 326 Members | |
| https://github.com/nix-community/poetry2nix | 62 Servers |
| Sender | Message | Time |
|---|---|---|
| 5 Mar 2024 | ||
| Strange, I didn't really understand the overrides.nix file you have, but whenever I've had a similar error I've just followed the edgecases documentation in the poetry2nix repo, and it has worked | 11:50:51 | |
| Thanks for looking at the problem! Did your patches work even for the rust/python toolchain, like maturin? Can you share an example? I agree that for normal buildtools like setuptools it works alright. | 11:53:18 | |
| Can't recall if I've come across any specific maturin problems yet. You should open a github issue, they state in the edgecases document that they need examples for maturin use, as it is pretty new | 12:16:11 | |
| I solved the problem about https://github.com/nix-community/poetry2nix/issues/1115#issuecomment-1611913900
to:
otherwise, | 18:11:46 | |
| Now I have still a problem, and I'm wandering if someone encountered it before:
This happens when I try to build the wheel for the last package I need, llvm itself. As usual, one can try the failing build at the latest commit of the repo I linked in the first question. I wonder who should set | 18:18:55 | |
| * Now I have still a problem, and I'm wondering if someone encountered it before:
This happens when I try to build the wheel for the last package I need, llvm itself. As usual, one can try the failing build at the latest commit of the repo I linked in the first question. I wonder who should set | 18:19:04 | |
| * Now I have still a problem, and I'm wondering if someone encountered it before:
This happens when I try to build the wheel for the last package I need, | 18:19:19 | |
| * Now I have still a problem, and I'm wondering if someone encountered it before:
This happens when I try to build the wheel for the last package I need, | 18:19:38 | |
| I solved this problem via:
| 19:18:28 | |
But now the build expects to find the executable which and it ignores it even if I put it in the build deps | 19:19:03 | |
duh, buildInputs vs nativeBuildInputs. I didn't realize before that native means build time 😂 | 20:28:13 | |
* duh, buildInputs vs nativeBuildInputs. I didn't realize before that native means build time 😂. So, the which thing is solved too. | 20:28:34 | |
| 6 Mar 2024 | ||
How do I create a mkPoetryEnv which includes a poetry executable with the Python version passed to mkPoetryEnv? | 02:23:46 | |
| 08:11:33 | ||
Usually for me is enough installing poetry-core that I can find in any python's package collection. Eg python311Packages.poetry-core. Does this help? | 12:31:21 | |
| I created a github issue for my remaining problems in packaging vllm https://github.com/nix-community/poetry2nix/issues/1553 If you have packaged deep-learning dependencies and you have suggestions I'm very happy to hear them | 15:56:34 | |
poetry-core doesn't seem to include the poetry CLI. | 21:27:21 | |
| 7 Mar 2024 | ||
| 10:35:54 | ||
| Hi, I thought I could "just" use poetry2nix to create a nix package for a poetry application I want to use. The problem is that I'm quite new to nix and I quite quickly ended up in the "edgecases.md" section of missing setuptools for a bunch of dependencies. My overrides are now ~ 200 loc and the suggested shorter solution won't work because I have to overwrite the hash of another dependency. Is there a quick way to propergate setuptools and setuptools-scm to all dependecies as PythonAttrs? | 10:41:58 | |
| The python lib in question is: https://github.com/earthobservations/wetterdienst | 10:43:32 | |
| What does your WIP nix look like? | 12:50:55 | |
| I am trying to get | 16:31:04 | |
Ah indeed I was. The python311 prefix had made its way in there. | 16:47:16 | |
| 8 Mar 2024 | ||
| 16:50:32 | ||
| 10 Mar 2024 | ||
In reply to @angryant:envs.net somewhat like this: https://gist.github.com/paradx/af5de890145e70b5921e9169aecf1119 I had more of the override bits but in the end it just fails further down the line, there has to be an easier solution. | 07:58:30 | |
| 11 Mar 2024 | ||
| 17:50:16 | ||
i am trying to install sanic and getting No module named 'pkg_resources' for tracerite. I have tried adding setuptools as overrides to both sanic and tracerite, but the issue persists. Any suggestions on how to fix/dubug this issue? | 19:45:11 | |
* i am trying to install sanic and getting No module named 'pkg_resources' for tracerite. I have tried adding setuptools as overrides to both sanic and tracerite, but the issue persists. Any suggestions on how to fix/debug this issue? | 19:45:27 | |
| 12 Mar 2024 | ||
Could you add pkg_resources, as that is the missing module? | 10:41:38 | |
| 13 Mar 2024 | ||
Hello, how do you do local development with poetry2nix? I started from the template and created an app with mkPoetryApplication function and included it in a shell. Then I ran the package using python ./app/__init__.py and it successfully runs the program. I noticed that I can edit the sources and without rebuilding I'm able to run it with the same command and see the change. Is this the correct way to use poetry2nix for local development? Are there any pitfalls in this solution? I'm bit unsure because I've seen mkPoetryEditablePackage function. When should one use it instead of mkPoetryApplication as I described? | 01:24:29 | |