Sender | Message | Time |
---|---|---|
29 Mar 2024 | ||
22:06:41 | ||
31 Mar 2024 | ||
23:08:36 | ||
2 Apr 2024 | ||
Hey, has anyone managed to get the later versions of the cryptography package working with poetry2nix. It seems some recent logic of moving stuff into the pyproject.toml has caused the rust hook to not trigger | 20:16:12 | |
5 Apr 2024 | ||
Hei there,
but also
how I can do both these 2 packages? I'm able to build the first one with | 11:13:17 | |
12:25:44 | ||
7 Apr 2024 | ||
07:58:58 | ||
08:01:39 | ||
08:09:19 | ||
8 Apr 2024 | ||
14:36:49 | ||
14:40:26 | ||
Hi, i seem to be running into the "infinite recursion" issue when trying to build a shell that includes adafruit-circuitpython-dht. Where do i even start to fix it? | 14:41:48 | |
9 Apr 2024 | ||
In reply to @j0xxx:nixbitcoin.orgFor me this was sometimes solved by using a different poetry2nix or nixpkgs revision. In one of my projects I've pinned nixpkgs to what's pinned in poetry2nix ( nixpkgs.follows = "poetry2nix/nixpkgs" ) to solve this. But it can also be something else, sometimes you can find a culprit by reading the error top to bottom. | 10:21:07 | |
23:22:59 | ||
10 Apr 2024 | ||
hmm, if i do that, i get something about "attribute lib missing" in some anonymous derivation | 08:51:01 | |
In reply to @j0xxx:nixbitcoin.org Last time I had this it was because I tried to access Can you share the flake? | 08:57:42 | |
nvm that was my issue, i passed the wrong think into mkPoetry2Nix. The follows thing didn't help though in this case | 08:58:20 | |
the problem seems to happen with the python package adafruit-circuitpython-dht, in case anyone feels like taking a look | 08:59:04 | |
switching from mkPoetryEnv to mkPoetryApplication for some reason shows me a more readable trace, and i can see it go down the dependencies until we hit adafruit-circuitpython-typing which is the actual package causing the issue | 21:00:16 | |
looks like a circular dependency with Adafruit-Blinka | 21:02:03 | |
so can i use an override to remove one of the dependencies? | 21:03:56 | |
Seems to be working with a lot of overrides needed. Will try to create a ticket tomorrow just to have it documented | 23:45:05 | |
11 Apr 2024 | ||
In reply to @j0xxx:nixbitcoin.orgOverriding buildInputs should work I think. | 08:09:16 | |
Ok, so it works now. Question is: Does it make sense to open a ticket like "i found these packages that need overrides"? Basically there were some dependency loops and a bunch of packages needing "setuptools" added. | 10:24:53 | |
In reply to @j0xxx:nixbitcoin.orgIf you already have the overrides, it would be great if you could add them to the existing ones. But filing an issue also works if you don't have time. | 22:50:45 | |
12 Apr 2024 | ||
09:47:11 | ||
15 Apr 2024 | ||
I'm working on a script to fix the overrides for some common problems. I created a recent PR for fixing a package called twisted. Three questions: 1) Would that be useful? So far I have identified thousands of commonly downloaded packages failing. 2) is the use of from and until in the build systems json preferred to list of dependencies? 3) I see some checks failing, unrelated to the package I'm fixing. Should I fix those? | 17:22:53 | |
In reply to @rolandco:matrix.org
| 20:53:48 | |
Thanks, I'll be working on it | 22:13:32 | |
16 Apr 2024 | ||
02:19:03 | ||
Are there any examples of mkPoetryScriptsPackage I could use because I'm trying to set up a single python script and installing it via a flake but I haven't figured that out yet haha | 02:23:46 |