26 Mar 2024 |
K900 | And the lock file | 10:45:09 |
K900 | * And the lock file for your project | 10:45:13 |
nim65s | oh, the required deps are found in the project currently being processed by poetry2nix, I see, it makes sense, thanks. | 10:46:43 |
nim65s | But then, second question: as the author of one of the libs I'm using in one of my project (both are separate projects/git repos, in pure python, and packaged with poetry), can I provide a hint with the lib to avoid having to provide an override for it in the projects packaging ? | 10:48:51 |
nim65s | maybe a [tool.poetry.group.poetry2nix.dependencies] poetry-core = "^1" or something similar ? | 10:49:49 |
nim65s | Or should I simply add all my projects in overrides/build-systems.json ? | 10:50:46 |
K900 | You can add your own overrides in your Nix expression | 10:51:22 |
nim65s | This is what I did in a few projects to test poetry2nix, but it quickly adds up to a lot of copy-paste of the same 3 lines x number of libs in every project, which is not super nice to write, see, or maintain, so I was looking for another solution. | 10:55:54 |
K900 | There is not really one currently | 10:56:40 |
K900 | We could implement an optional, opt-in IFD mode | 10:56:54 |
K900 | But that has to be optional and someone needs to actually do it | 10:57:10 |
nim65s | ok, now everything is clear, thanks for your answers ! | 11:00:43 |
lord_fomo | anyone seen this new project yet? | 20:26:38 |
lord_fomo | https://github.com/astral-sh/uv | 20:26:40 |
lord_fomo | looks like it also has locking for deps | 20:27:23 |
lord_fomo | which i guess would make it possibly compat with nix? | 20:27:33 |
K900 | In theory | 20:29:31 |
K900 | I haven't looked closely at the lockfile format | 20:29:37 |
nim65s | from astral, nice ! | 21:12:43 |
lord_fomo | yah | 21:51:00 |
lord_fomo | haven't tried it but ma peeps say it lives up to its goals | 21:51:12 |
27 Mar 2024 |
cloudcomputer | One of the really nice things about uv is that it supports locking to lower bounds | 12:31:32 |
truh | Does anyone use flakehub with poetry2nix? Didn't doesn't appear to really understand the versioning scheme used by poetry2nix. It advertises the v1.28.0 version tag from 2022 as latest release, which appears to have been created with the v prefix by accident. | 17:12:23 |
K900 | poetry2nix doesn't really do stable releases anymore | 17:20:24 |
K900 | Because we removed it from nixpkgs | 17:20:28 |
truh | There are still newer tags on GitHub. Are they just created automatically after each merged PR? | 17:31:47 |
truh | * There are still newer tags on GitHub. Are they just created automatically after each merged PR?
I guess that can't be it since non of the latest commits have tags. | 17:34:11 |
Charles Duffy | In reply to @truh:matrix.org Does anyone use flakehub with poetry2nix? Didn't doesn't appear to really understand the versioning scheme used by poetry2nix. It advertises the v1.28.0 version tag from 2022 as latest release, which appears to have been created with the v prefix by accident. As an active poetry2nix user, I use their master branch and periodically repin. | 20:33:31 |
Charles Duffy | (mind, some of my local overrides are probably duplicative with things upstream has fixed, but haven't made reviewing and correcting for that a part of my regular workflow). | 20:34:17 |
29 Mar 2024 |
| SebTM joined the room. | 05:40:05 |