Poetry
From YM2149.org
Same old
- as with many so-called modern tools, solutions take a back seat to gloss
- composability also suffers
Install
- recommended install of poetry itself is to a venv (makes sense) but you must not activate that venv
- this violates the principle of least astonishment, especially when poetry then breezily installs app requirements into its own venv
Solution
- install poetry command using
motivate -S poetry
where motivate is provided by venvpool- the poetry command will then create/use a suitable venv for itself just-in-time
- you can specify a particular version e.g.
motivate -S poetry==2.0.1
- use
-f
to overwrite existing command
- use