Sender | Message | Time |
---|---|---|
3 Dec 2024 | ||
Download pyproject.toml | 10:31:35 | |
Download I followed the instructions on https://github.com/nix-community/poetry2nix/blob/master/docs/edgecases.md#modulenotfounderror-no-module-named-packagename And put "maturin" into the `package = [ "maturing" ];`, but no dice. I simply ran `nix flake init --template github:nix-community/poetry2nix` and then inserted maturin with the poetry files that I have attached here as well. This is my first time setting up an environment with poetry2nix, and apart from this it has been incredibly magical | 10:31:35 | |
maybe you need to put polars = instead of package = . | 10:58:40 | |
Never used the template, I think it's implementing this https://github.com/nix-community/poetry2nix/blob/master/docs/edgecases.md?plain=1#L170 but with the requirements inlined | 10:59:59 | |
Hmm, yea no difference, same output | 11:03:56 | |
ah seems like this one is worse than usual https://github.com/nix-community/poetry2nix/issues/1677 | 11:24:13 | |
I looked for an issue like that, somehow didn't find it, thank you | 11:33:02 | |
Okay so I could get it working with preferWheels = true, just like they suggest in that issue, I will roll with that for now even though it doesn't actually solve the root problem, it just circumvents it. Thanks! | 11:48:28 | |
4 Dec 2024 | ||
17:39:03 | ||
5 Dec 2024 | ||
FYI if you are encountering build failures on latest unstable and 24.11 due to error: option --dist-info-dir not recognized https://github.com/NixOS/nixpkgs/pull/361930 | 01:46:10 | |
6 Dec 2024 | ||
14:50:26 | ||
Ah great thank you, I was completely lost on this one. | 14:51:14 | |
Just out of curiosity (I can easily wait until the PR is through), how would an override for this look like? I naively added wheel with poetry add but that doesn't work even even when I add it as a build dependency to a package. | 16:02:46 | |
8 Dec 2024 | ||
In reply to @nebucatnetzer13:matrix.orgI also linked that in the PR. Here is an example how to override it: https://github.com/fpletz/authentik-nix/commit/24907f67ee4850179e46c19ce89334568d2b05c6 Unfortunately not possible with the overrides attribute since wheel will be pulled in from nixpkgs. | 12:01:05 | |
In reply to @fpletz:lodere.esAh sorry I missed that as I went straight to the diff and then tried to do it myself đ. Thank you for the linkđ | 14:39:00 | |
9 Dec 2024 | ||
19:23:43 | ||
hey, after recent update (I didnt update for a long time) I get this error
bisecting resulted into https://github.com/NixOS/nixpkgs/commit/03c1cedc3c6d9c95c834a8ddff2c03f82dd25ec2#diff-7283fe148b76f74489ff44bd0f7d731ddbffe539a51100b88824138867af1d15R31 which is not helpful at all | 19:25:50 | |
how can I fix it? | 19:26:12 | |
13 Dec 2024 | ||
23:33:56 | ||
14 Dec 2024 | ||
yeah, we're getting this as well. I submitted a patch to nixpkgs that will hopefully fix this. | 02:10:40 | |
In reply to @drawnwren:matrix.orgWell, that PR doesn't answer the main question: why is it unbound (it won't be probably merged because without answering this. Also, this looks like a problem on poetry2nix side | 02:41:20 | |
15 Dec 2024 | ||
In reply to @perchun:matrix.orgYou have a uvicorn derivation created by poetry2nix & a fastapi-cli derivation from nixpkgs. Derivations generated by poetry2nix doesn't have passthru.optional-dependencies because poetry2nix predates it. | 02:43:13 | |
and how do i fix the issue? | 03:13:35 | |
* and how do i fix the error? | 03:13:43 | |
Possible workarounds:
| 04:27:44 | |
04:28:10 | ||
16 Dec 2024 | ||
19:38:55 | ||
19 Dec 2024 | ||
14:47:23 | ||
20 Dec 2024 | ||
12:51:30 | ||
13:24:02 |