Sender | Message | Time |
---|---|---|
21 Sep 2024 | ||
luna-null joined the room. | 05:45:21 | |
wk | hi, does anyone know if there is a way to override MAX_JOBS when building a python package? Getting OOM errors | 09:13:04 |
K900 | --option cores 4 | 09:32:12 |
K900 | Or whatever number you want | 09:32:15 |
wk | 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 | ||
luna-null changed their display name from luna-null to Autumn. | 06:39:14 | |
26 Sep 2024 | ||
@ersei:ersei.net joined the room. | 02:05:20 | |
@ersei:ersei.net | 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 |
@ersei:ersei.net | any guidance? | 02:07:48 |
@ersei:ersei.net | afaik psycopg-c should have the override already | 02:19:35 |
@ersei:ersei.net | I added an override I guess | 02:31:24 |
jfahne joined the room. | 02:45:44 | |
l0b0 | In reply to @ersei:ersei.netDid that work? If so, would you be OK to create a PR? | 02:48:05 |
@ersei:ersei.net | In reply to @vengmark2:matrix.orgyeah, I was just confused since I thought psycopg-c already has one | 03:03:01 |
27 Sep 2024 | ||
Erica joined the room. | 15:36:54 | |
Erica | Hello and thanks for your work, I'm trying to package my poetry project and I have a few issues. I created a basic app to experiment, if you want to reproduce my bugs. | 15:53:52 |
Erica | When following the tutorial without flakes I'm facing this error message : | 15:53:57 |
Erica |
I'm a bit confused by niv since I don't usually use it, I tried to run the command both inside the nix-shell including niv and outside and I'm still getting the same error | 15:54:11 |
Erica | When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment can't seems to find the right syntax to build it. | 15:54:20 |
Erica | The error message when running
| 15:54:37 |
Erica | Seeing that I could at least run the flake in my hello-world project, I tried to apply the same steps to my real-life project, putting aside the building problem for now. I created a PR for an override but I now have this error : | 15:54:49 |
Erica |
| 15:54:57 |
Erica | Thansk by advance for your help ! | 15:55:07 |
Erica | * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment since I can't seems to find the right syntax to build it. | 15:56:23 |
Erica | * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment since I can't seems to find the right syntax to build it (the README give an default.nix as example and I'm don't know enough about flakes to reproduce it) | 15:58:48 |
Erica | * When using flakes, I was able to run my flake (yeah !) but I now have a question regarding the dependency environment to run my app with gunicorn since I can't seems to find the right syntax to build it (the README give an default.nix as example and I'm don't know enough about flakes to reproduce it) | 16:08:04 |
wecmyrc | In reply to @ericadelagnier:multi.coop I think this will work with
| 16:10:55 |
Erica | Redacted or Malformed Event | 16:23:47 |
Erica | the build works ! thank you :) I can now run the app with ./result/bin/hello, but I'm not sure how to call it with gunicorn ? the README suggest "./result/bin/gunicorn web:app" but I'm not sure how to make gunicorn available in the result | 16:26:27 |
wecmyrc | In reply to @ericadelagnier:multi.coop I would suggest to add gunicorn in flake.nix buildInputs, and run it from python something like Part of
| 16:38:23 |