Poetry2nix | 304 Members | |
| https://github.com/nix-community/poetry2nix | Poetry2nix is unmaintained https://github.com/nix-community/poetry2nix/issues/1865 | 57 Servers |
| Sender | Message | Time |
|---|---|---|
| 16 Aug 2024 | ||
| 11:05:59 | ||
| 19 Aug 2024 | ||
| 08:51:43 | ||
| 20 Aug 2024 | ||
| 12:46:33 | ||
| 21 Aug 2024 | ||
| This is quite a radical change I'm considering for poetry2nix v2: The API comes down to one central function
In this brave new world I'm having two considerations I'm not sure about:
| 04:42:01 | |
You might argue that this belongs in mkOverlay, but the overlay generated is for any interpreter | 04:42:19 | |
| Maybe this is an internal overlay attribute? | 04:42:39 | |
| But that's also a bit funky | 04:42:45 | |
| Ideas welcome | 04:42:47 | |
* You might argue that PEP-508 markers belongs in mkOverlay, but the overlay generated is for any interpreter | 04:47:44 | |
I think wheel preference or not is so central to the user experience that it should probably be an mkOverlay thing | 04:48:08 | |
| But marker customisation feels wrong there | 04:48:20 | |
| * This is quite a radical change I'm considering for poetry2nix v2: The API comes down to one central function
In this brave new world I'm having two considerations I'm not sure about:
| 05:21:46 | |
| Internals are coming along https://adisbladis.github.io/poetry2nix-v2/lib/metadata2.html | 09:07:30 | |
| So I would then use python.pkgs.<my-project-name> instead of the output of mkPoetryApplication? | 09:39:45 | |
In reply to @truh:matrix.orgThat's the idea | 09:44:46 | |
| Sounds good, maybe a bit more difficult to get the hang of for people who aren't familiar nixpkgs. | 10:03:03 | |
| Would this create ovrrides for all depedencies in the poetry.lock? What do you think about a way to tell poetry2nix to not create overrides for particular packages, when I know python3Packages.particular-package would work for my project, requires less build time on my end, and is well maintained. Or does that lead problems | 10:07:53 | |
In reply to @truh:matrix.orgFor sure it's a little bit more friction, OTOH this API gives you a gradual learning path. Another agenda with keeping it as simple as possible is for future compat with https://github.com/NixOS/nixpkgs/issues/272178 | 10:21:50 | |
In reply to @truh:matrix.orgI've been toying with ideas like that for a while :) | 10:21:57 | |
| Excerpt:
| 10:25:15 | |
| 22 Aug 2024 | ||
| 12:58:51 | ||
| 14:53:11 | ||
| 23 Aug 2024 | ||
| My 7000+ override PR finally passes the CI... | 13:41:02 | |
| 27 Aug 2024 | ||
| hey there! i am trying to work on a flake template repository for whenever i need to setup a project but something i have been stuck on is trying to get past an assertionerror that happens only in the installPhase | 05:54:38 | |
| Something i noted is that it works completely fine in base poetry and that this is probably an issue in how I declared the package. | 05:55:30 | |
| All relevant files will be shared in a few hours or so, I am not on my PC right now. | 05:56:05 | |
| * Hey there! I am trying to work on a flake template repository for whenever I need to setup a project but something I have been stuck on is trying to get past an assertionerror that happens only in the installPhase. | 05:59:24 | |