top | item 36225076

(no title)

aurbano | 2 years ago

We recently migrated to Poetry [1] for dependency management and so far it's been a breath of fresh air - it feels like what Python deps should've always been!

You can even have dependency groups, to separate main/dev dependencies for instance. It also brings env management, and plays very nicely with Docker if you use containers.

[1] https://python-poetry.org

discuss

order

rektide|2 years ago

Poetry doesn't really work well if you try to ssh in. It tries to setup a keyring for some reason whenever you use it, but even if just to Runa project. I feel like it shouldn't be that hard to get going, but after trying to hack it for four hour I used a workaround of telling the keyrings to use a null provider & then was able to download deps & run the project I'd downloaded.

Admittedly only a single nit but it was still one of thr saddest most frustrating python experiences I've ever had.

KRAKRISMOTT|2 years ago

Good luck using poetry for GPU accelerated ML dependencies

nurettin|2 years ago

poetry add maps to pip install, and you can get cuda based modules with pip, so what's the problem?