5 ms·
I recommend using poetry and just moving on with your life, it’s far easier than trying to use pip (which is totally doable, but not clean).
by AlphaSite 4y ago
I recommend using poetry and just moving on with your life, it’s far easier than trying to use pip (which is totally doable, but not clean).
- LtWorf 4y agoBut poetry requires pip… you can't use it without using pip
- gen220 4y agoPoetry requires pip in the way that `go mod` requires `go get`, i.e. Poetry allows one to operate at a higher level of abstraction, where it's harder to make mistakes and generally easier to manage your dependency tree.
- LtWorf 4y agoAbstractions are amazing until they break and you have to fix them.
- gen220 4y agoSure, this is true for every abstraction: some are more air-tight or leaky than others, but IME Poetry and go mod are fairly solid. I haven’t had to use pip in a long time. Just like I haven’t had to use `go get` in a while. I mean it’s not the most rock solid abstraction, but introducing sane package management in an OSS environment with a decade plus of history is very hard. Against that background, they are doing pretty well, IMO.
- biorach 4y agoThey clearly mean using pip on its own, presumably by `pip freeze > requirements.txt`
- ryanianian 4y agoKind of. It's intended to be a system package/tool. In that regard you can use, wait for it, yet another python tool - pipx. So instead of installing poetry to a venv or whatever using pip, you can use `pipx run poetry`. Now you have to install pipx...