Poetry2nix | 326 Members | |
| https://github.com/nix-community/poetry2nix | 63 Servers |
| Sender | Message | Time |
|---|---|---|
| 26 Jun 2024 | ||
| I'm getting ➜ LD_LIBRARY_PATH='' nix build '.?submodules=1#railbird-api' --dry-run --impure --show-trace after updating the nixpkgs and poetry2nix versions in my flake. sort of at a loss as to how to try to even ascertain which package is causing this because why depends and dry run are failing with the same issue. the only thing I can think of is to start putting traces in the poetry2nix code itself. Does anyone have any idea how I can debug this? | 00:00:10 | |
| 28 Jun 2024 | ||
| 02:44:28 | ||
| 30 Jun 2024 | ||
| turns out that my nixpkgs was too out of date for the newer poetry2nix that I was using | 04:22:56 | |
| 1 Jul 2024 | ||
| 21:57:20 | ||
| 4 Jul 2024 | ||
In reply to @tyberius_prime:matrix.org For various reasons I haven't worked on anything Nix related for a bit. The reasons are many-fold:
I have some pretty large changes that I want to do to how Nixpkgs deals with Python in general that would break things drastically for some people. Dealing with any sort of social fallout in this climate is something I see as untenable.
| 00:14:25 | |
In reply to @tyberius_prime:matrix.org* For various reasons I haven't worked on anything Nix related for a bit. The reasons are many-fold:
I have some pretty large changes that I want to do to how Nixpkgs deals with Python in general that would break things drastically for some people. Dealing with any sort of social fallout in this climate is something I see as untenable.
| 00:15:19 | |
| adisbladis: Thanks for the explanation. Glad to hear you haven't been run over by a bus or something, I do tend to worry. | 05:08:05 | |
| (and I do think all you reasons are perfectly valid!). | 05:08:56 | |
| 5 Jul 2024 | ||
| So, I'm 98% certain that preferWheels just doesn't work. | 12:34:55 | |
| but I sure have trouble tracing the code and finding out why. | 12:49:32 | |
| correction, it works for some packages and does not for others ?! | 14:22:16 | |
| 18:32:39 | ||
| 23:02:15 | ||
| 8 Jul 2024 | ||
| 13:34:35 | ||
| 9 Jul 2024 | ||
| It would be great if this PR could be merged adding a cargo hash https://github.com/nix-community/poetry2nix/pull/1726 | 09:10:13 | |
| I'm trying to investigate why opencv is no longer building (probably the same as https://github.com/nix-community/poetry2nix/issues/1715). Do the opencv packages in poetry2nix rely on the instructions from https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/opencv/4.x.nix ? | 10:37:52 | |
| 10 Jul 2024 | ||
In reply to @FRidh:matrix.orgmy work in progress giant PR should fix that 'en passant' | 10:02:48 | |
In reply to @truh:matrix.orgI don't think they do, reading the source. | 10:04:08 | |
| and once again, my mega-PR fixes that as well. | 10:04:39 | |
| by doing
| 10:04:57 | |
| (basically, by saying to not build the py.typed file) | 10:05:14 | |
My current workaround is p2n.defaultPoetryOverrides.extend (self: super: { opencv-contrib-python = super.opencv4; }) & dontCheckRuntimeDeps = true; but your patch thing looks more reasonable | 10:07:42 | |
| Honestly feels like a bit of a waste not to use all those handcrafted build expressions in nixpkgs, I guess those only need to work with specific versions so maybe more problems than gain by using them. | 10:09:48 | |
| yeah, I've been at least stealing the patches from nixpkgs, but you're right, they only need to work with one exact version | 10:11:05 | |
| I somewhat surprised opencv-python ever worked without the nixpkgs stuff, given that they download stuff during the cmake build | 10:11:12 | |
In reply to @truh:matrix.orgI can't comment on that, since I have no clue about opencv or it's build process. I just went and tried to fix as many packages as possible | 10:11:50 | |
| (and my test 'matrix' is already bonkers... I try to build 17k python packages, each individually locked by poetry, and that ends up being >100k package*version builds.) | 10:12:55 | |
| (my nixpkgs copy doesn't seem to have opencv-python at al. or maybe not in python-modules at least) | 10:13:34 | |
Download Screenshot 2024-04-29 at 17.14.15.png | 10:13:54 | |
| python3Packages.opencv4 is https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/libraries/opencv/4.x.nix | 10:14:42 | |