Poetry2nix | 332 Members | |
| https://github.com/nix-community/poetry2nix | 66 Servers |
| Sender | Message | Time |
|---|---|---|
| 11 Sep 2024 | ||
| 22:07:07 | ||
| 12 Sep 2024 | ||
| 01:48:57 | ||
| 01:56:00 | ||
| wecmyrc my guess would be that you need to add git to the buildInputs of RHVoice https://github.com/nix-community/poetry2nix/blob/master/docs/edgecases.md | 08:41:15 | |
Nah, the git clone in setup.py thing just won't work with nix | 08:41:45 | |
| Looks like setup.py won't try to call git clone if you give it the folder some other way. | 08:45:06 | |
Download Screenshot 2024-09-12 at 10.43.33.png | 08:45:15 | |
In reply to @truh:matrix.orgThank you for the response. I think that during the build process, nix cannot use git, so I will use data obtained using fetchFromGitHub. | 08:56:52 | |
In reply to @wecmyrc:matrix.org(nix derivations can not access the network at all. Except for 'fixed output derivations', were you know exactly what they're going to produce.) | 10:11:45 | |
| 13 Sep 2024 | ||
| Hence my second suggestion to provide the rhvoice source some other way. | 08:48:25 | |
| I tried to provide RHVoice like this:
and in rhvoice-wrapped-data configurePhase pass it as link:
But in the end, it didn't work because I assume that setup.py, after installation, tried to delete the RHVoice source, which it didn't have permission to do. So I copied the rhvoice-wrapper-data repository, added RHVoice as a submodule, removed the git requests in setup.py, and now everything works. It's not the most elegant solution, but it's the best I've come up with for now. Thanks everyone for your help. Here is the working repository: https://github.com/wecmyrc/rhvoice-wrapper-data-patch Here is an example of usage:
| 09:08:51 | |
| * I tried to provide RHVoice like this:
and in rhvoice-wrapped-data configurePhase pass it as link:
But in the end, it didn't work because I assume that setup.py, after installation, tried to delete the RHVoice source, which it didn't have permission to do. So I copied the rhvoice-wrapper-data repository, added RHVoice as a submodule, removed the git requests in setup.py, and now everything works. It's not the most elegant solution, but it's the best I've come up with for now. Thanks everyone for your help. Here is the working repository: https://github.com/wecmyrc/rhvoice-wrapper-data-patch Here is an example of usage:
| 09:20:16 | |
| 16 Sep 2024 | ||
| 20:02:27 | ||
| 17 Sep 2024 | ||
| 14:40:13 | ||
| 18 Sep 2024 | ||
| 23:00:42 | ||
| 21 Sep 2024 | ||
| 05:45:21 | ||
| hi, does anyone know if there is a way to override MAX_JOBS when building a python package? Getting OOM errors | 09:13:04 | |
--option cores 4 | 09:32:12 | |
| Or whatever number you want | 09:32:15 | |
| hmm i was hoping to be able to override just that package so the rest of the system is unaffected plus it doesnt require keeping track of extra build parameters | 10:50:26 | |
| 25 Sep 2024 | ||
| 06:39:14 | ||
| 26 Sep 2024 | ||
| 02:05:20 | ||
| Hey all, I'm having trouble with poetry2nix. My pyproject.toml has psycopg-c, and when I go to build the package, I get a "ModuleNotFoundError: No module named 'setuptools'" | 02:07:42 | |
| any guidance? | 02:07:48 | |
| afaik psycopg-c should have the override already | 02:19:35 | |
| I added an override I guess | 02:31:24 | |
| 02:45:44 | ||
In reply to @ersei:ersei.netDid that work? If so, would you be OK to create a PR? | 02:48:05 | |
In reply to @vengmark2:matrix.orgyeah, I was just confused since I thought psycopg-c already has one | 03:03:01 | |
| 27 Sep 2024 | ||
| 15:36:54 | ||