Sender | Message | Time |
---|---|---|
4 Nov 2024 | ||
In reply to @9456ed88e6:matrix.orgDoes the error go away with an earlier poetry2nix version? | 09:32:34 | |
I also experience ModuleNotFoundErrors (that I still need to investigate) with one of my projects when upgrading to the lastest poetry2nix | 09:33:53 | |
In reply to @picog:matrix.orgThanks for trying it, I intend on starting a new project from scratch to see what I can make work. | 16:37:30 | |
16:52:08 | ||
Curious my ModuleNotFoundError started with this poetry2nix change https://github.com/nix-community/poetry2nix/pull/1785. And it's caused by me passing groups=[] to p2n.mkPoetryApplication . Passing groups=["main"] (the new default) solves the problem. | 18:10:15 | |
5 Nov 2024 | ||
14:52:26 | ||
Hey! I'm trying to nixify a poetry project and having issues with one of the tool hashes (for ruff, which I think is a linter?). The build fails with
and I'm trying to override the package like this (as an arg to
but I'm still getting the hash mismatch. Any ideas what I'm doing wrong? | 14:59:56 | |
* Hey! I'm trying to nixify a poetry project and having issues with one of the tool hashes (for ruff, which I think is a linter?). The build fails with
and I'm trying to override the package like this (as an arg to
but I'm still getting the hash mismatch. Any ideas what I'm doing wrong? | 15:00:12 | |
* Hey! I'm trying to nixify a poetry project and having issues with one of the tool hashes (for ruff, which I think is a linter?). The build fails with
and I'm trying to override the package like this (as an arg to
but I'm still getting the hash mismatch. Any ideas what I'm doing wrong? | 15:00:35 | |
* Hey! I'm trying to nixify a poetry project and having issues with one of the tool hashes (for ruff, which I think is a linter?). The build fails with
and I'm trying to override the package like this (as an arg to
but I'm still getting the hash mismatch. Any ideas what I'm doing wrong? | 15:00:57 | |
The derivation hash isn't changing so I assume the override isn't being applied | 15:01:22 | |
It's probably cargoHash | 15:01:40 | |
The way we handle overrides for those sucks | 15:01:45 | |
Ooh | 15:01:59 | |
https://github.com/nix-community/poetry2nix/blob/master/overrides/default.nix#L3418 | 15:02:14 | |
I forgot how to set those in the first place lol | 15:02:14 | |
Thanks! :) | 15:02:27 | |
Ah okay. Yeah this project uses 0.7.1 so I guess I should do a PR to poetry2nix to update these? | 15:03:10 | |
I am getting that "unknown ruff version" warning :P Good to know where it comes from | 15:03:29 | |
Probably yes | 15:04:01 | |
6 Nov 2024 | ||
I fixed the ruff problem (wip PR with not all the in-between versions added), now failing on the next hurdle: I read the edgecases.md and tried adding poetry to the build inputs of the package, but to no avail. Anything obviously wrong with this?
(the trace is being printed as | 08:04:49 | |
* I fixed the ruff problem (wip PR with not all the in-between versions added), now failing on the next hurdle: I read the
(the trace is being printed as | 08:05:30 | |
You probably want super.poetry-core | 08:07:35 | |
Also, check build-systems.json | 08:07:41 | |
That's an easier way to do basically this | 08:07:45 | |
oh okay! | 08:10:44 | |
Actually yeah I saw that earlier and forgot about it | 08:10:54 | |
Is there a way to include arbitrary extra files in the output path of the root mkPoetryApplication build? I tried adding the name of that package (builder-tools for me) to the overrides section but that doesn't seem to be evaluated | 09:26:17 | |
* Is there a non-obvious/ not-document dway to include arbitrary extra files in the output path of the root mkPoetryApplication build? I tried adding the name of that package (builder-tools for me) to the overrides section but that doesn't seem to be evaluated | 09:26:42 | |
* Is there a non-obvious/ not-document way to include arbitrary extra files in the output path of the root mkPoetryApplication build? I tried adding the name of that package (builder-tools for me) to the overrides section but that doesn't seem to be evaluated | 09:28:11 |