!rWxyQqNqMUDLECdsIf:blad.is

Poetry2nix

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

Load older messages


SenderMessageTime
26 Mar 2024
@gsaurel:laas.frnim65s maybe a [tool.poetry.group.poetry2nix.dependencies] poetry-core = "^1" or something similar ? 10:49:49
@gsaurel:laas.frnim65sOr should I simply add all my projects in overrides/build-systems.json ?10:50:46
@k900:0upti.meK900You can add your own overrides in your Nix expression 10:51:22
@gsaurel:laas.frnim65sThis 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:0upti.meK900There is not really one currently 10:56:40
@k900:0upti.meK900We could implement an optional, opt-in IFD mode 10:56:54
@k900:0upti.meK900But that has to be optional and someone needs to actually do it 10:57:10
@gsaurel:laas.frnim65sok, now everything is clear, thanks for your answers ! 11:00:43
@goodboy:matrix.orglord_fomoanyone seen this new project yet?20:26:38
@goodboy:matrix.orglord_fomohttps://github.com/astral-sh/uv20:26:40
@goodboy:matrix.orglord_fomolooks like it also has locking for deps20:27:23
@goodboy:matrix.orglord_fomowhich i guess would make it possibly compat with nix?20:27:33
@k900:0upti.meK900In theory20:29:31
@k900:0upti.meK900I haven't looked closely at the lockfile format20:29:37
@gsaurel:laas.frnim65sfrom astral, nice !21:12:43
@goodboy:matrix.orglord_fomoyah21:51:00
@goodboy:matrix.orglord_fomohaven't tried it but ma peeps say it lives up to its goals21:51:12
27 Mar 2024
@cloudcomputer:matrix.orgcloudcomputerOne of the really nice things about uv is that it supports locking to lower bounds12:31:32
@truh:matrix.orgtruhDoes 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:0upti.meK900poetry2nix doesn't really do stable releases anymore17:20:24
@k900:0upti.meK900Because we removed it from nixpkgs17:20:28
@truh:matrix.orgtruhThere are still newer tags on GitHub. Are they just created automatically after each merged PR?17:31:47
@truh:matrix.orgtruh* 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
@tcarls:matrix.orgCharles 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
@tcarls:matrix.orgCharles 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:lodere.esSebTM joined the room.05:40:05
@lunik1:lunik.one@lunik1:lunik.one left the room.22:06:41
31 Mar 2024
@technicus:matrix.orgMiles Dyson joined the room.23:08:36
2 Apr 2024
@dolcetriade:matrix.orgDolceTriadeHey, has anyone managed to get the later versions of the cryptography package working with poetry2nix. It seems some recent logic of moving stuff into the pyproject.toml has caused the rust hook to not trigger20:16:12
5 Apr 2024
@brokenpip3:matrix.org@brokenpip3:matrix.org

Hei there,
I was wondering: I have a python app that is both an application with a pyproject entry script but also it can be sourced as python library.
For instance, normally I can do both:

foobar mycommand

but also

python3
import foobar

how I can do both these 2 packages? I'm able to build the first one with mkPoetryApplication but after trying everything I'm not able to build both or build 2 separated package, one as command and another one as library.
Thanks!

11:13:17

Show newer messages


Back to Room ListRoom Version: 6