| 15 Apr 2022 |
ToxicFrog | And I can't even tell if that error is coming from Poetry itself or some other tool it's running. | 21:12:27 |
ToxicFrog | Full log: http://ix.io/3Vfm | 21:13:09 |
| 16 Apr 2022 |
adisbladis | In reply to @froxictog:matrix.org Is there a way to tell poetry2nix to run poetry in debug mode (-vvv)? This is pip launching poetry as a PEP build system, not sure how that would be done in this case | 04:28:05 |
adisbladis | It looks like we might want to add --debug to our python -m pip wheel incantation | 04:31:33 |
adisbladis | I don't know if that has any detrimental performance effects though | 04:33:18 |
K900 | adisbladis: any ideas why iso8601 builds fine without poetry in nixpkgs proper, but fails to find it in poetry2nix? | 06:09:47 |
adisbladis | In reply to @k900:0upti.me adisbladis: any ideas why iso8601 builds fine without poetry in nixpkgs proper, but fails to find it in poetry2nix? A guess is that it's because nixpkgs is not defaulting to format = "pyproject" | 06:11:17 |
K900 | https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/iso8601/default.nix#L13= | 06:11:28 |
adisbladis | And ends up using setup.py | 06:11:31 |
K900 | It does set format = "setuptools" but there is no setup.py | 06:11:38 |
K900 | Oh wait | 06:11:45 |
adisbladis | There probably is in the pypi tarball | 06:11:57 |
K900 | Yeah | 06:11:59 |
K900 | I just saw it's pulling from pypi and not github | 06:12:05 |
K900 | I guess I'll just PR nixpkgs to switch it over | 06:14:54 |
adisbladis | I've pushed an override for it | 06:15:30 |
K900 | Still probably better to handle this in nixpkgs | 06:15:43 |
K900 | Poetry's autogenerated setup.py stuff is jank | 06:16:05 |
adisbladis | Python is just layers upon layers of jank | 06:16:20 |
K900 | True, but at least we can try to reduce the jank | 06:16:29 |
adisbladis | I still like it though, don't get me wrong | 06:16:38 |
adisbladis | Some day soon I'll try to find some energy to add proper handling of this to upstream poetry | 06:17:14 |
adisbladis | Oh, there was some recent-ish movement on this front https://github.com/python-poetry/poetry/pull/2794#issuecomment-1069740251 | 06:17:49 |
K900 | https://github.com/NixOS/nixpkgs/pull/168881 | 06:18:06 |
K900 | 3.6k rebuilds eeey | 06:18:10 |
adisbladis | Lovely | 06:18:22 |
K900 | Honestly how the fuck is that still not in the stdlib | 06:18:40 |
adisbladis | In reply to @k900:0upti.me Honestly how the fuck is that still not in the stdlib What's really mind boggling is that toml isn't in stdlib but is mandated by PEP517/PEP518 | 06:19:07 |
K900 | It is now | 06:19:17 |
adisbladis | Oh? | 06:19:24 |