!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

326 Members
https://github.com/nix-community/poetry2nix63 Servers

Load older messages


SenderMessageTime
21 Oct 2023
@schmittlauch:ohai.isschmittlauch (he/him)* The easiest workaround would probably be to use the poetry2nix from the nixpkgs input instead of the additional poetry2nix flake input 😬23:10:45
22 Oct 2023
@pcloud:matrix.orgcpcloud Re nixpkgs-unstable, I was able to get the "simple" wheel tests passing by using pypaInstallHook instead of pipInstallHook. The latter causes infinite recursion (of the flavor which --show-trace can help with) 10:08:42
@schmittlauch:ohai.isschmittlauch (he/him)
In reply to @schmittlauch:ohai.is
I could move my configured instanciation of nixpkgs to a separate flake, and export the configured version as an output from there. Then in my main flake, I set poetry2nix to follow that configured flake.
Update: Configuring and re-exporting nixpkgs in an external flake did the trick. I'll post details in an issue about this.
13:19:21
@pcloud:matrix.orgcpcloud Turns out that the new bootstrapping infrastructure is actually enforcing build requirements now. I am currently sifting through the failing packages' requirements and unpinning them in postPatch. No promises, but I think I am on the way to resolving the bootstrapping issue. 14:05:36
@k900:0upti.meK900Yes, that is also good14:09:13
@pcloud:matrix.orgcpcloud Part of the solution so far is to inherit the build, packaging, and installer packages from nixpkgs 14:22:09
@pcloud:matrix.orgcpcloudwhich is what we are currently doing for wheel14:22:27
@k900:0upti.meK900Probably also flit-core14:22:32
@k900:0upti.meK900As it's part of the bootstrap chain too14:22:38
@pcloud:matrix.orgcpcloudoh yeah, sorry that one too14:22:40
@pcloud:matrix.orgcpcloudi was going from memory while waiting for mypy to build :)14:22:56
@pcloud:matrix.orgcpcloudwow, pip has a dependency on sphinx apparently14:26:28
@k900:0upti.meK900Yep14:27:25
@k900:0upti.meK900A full-sized pip depends on like half the world14:27:34
@pcloud:matrix.orgcpcloudbecause of all the vendoring?14:27:44
@k900:0upti.meK900Mostly because of sphinx honestly14:29:15
@pcloud:matrix.orgcpcloud well, i have it so that pip can be in build-systems.json now, which simplifies these packages that declare it in their build requirements 14:30:00
@k900:0upti.meK900Uhh14:30:27
@pcloud:matrix.orgcpcloudseems to be a bit less magic around bootstrapping python in nixpkgs now14:30:27
@k900:0upti.meK900Who the fuck14:30:30
@k900:0upti.meK900Does that14:30:32
@pcloud:matrix.orgcpcloudhttps://github.com/ansible/molecule/blob/3.5.2/pyproject.toml#L314:31:34
@pcloud:matrix.orgcpcloud And a few others, but they all seem to be in the closure of this absolutely cursed ansible-moleule package 14:32:26
@k900:0upti.meK900Should have guessed14:32:31
@pcloud:matrix.orgcpcloudI honestly have no idea if what I am doing is going to be backwards compatible with older nixpkgs14:34:06
@pcloud:matrix.orgcpcloud * And a few others, but they all seem to be in the closure of this absolutely cursed ansible-molecule package 14:35:39
@k900:0upti.meK900No shot14:36:42
@k900:0upti.meK900Will probably need a separate 23.05 branch14:36:54
@k900:0upti.meK900And then just kill it in a few months14:37:00
@pcloud:matrix.orgcpcloudOk, I'm down to 14 tests that won't evaluate, all with the same error: ```14:41:55

Show newer messages


Back to Room ListRoom Version: 6