3 ms·
Last time I used Poetry, I got frustrated at how long updating the lock file (i.e. resolving dependencies) took. Adding the debug flag showed it was spending mo
by williamvds 4y ago
Last time I used Poetry, I got frustrated at how long updating the lock file (i.e. resolving dependencies) took.
Adding the debug flag showed it was spending most of its time combing through each version of the setuptools package, oldest to newest, to pick the most recent compatible version.
I was surprised it didn't do any caching, or possibly try binary search, though the latter could be rather imprecise.
Sure, cargo being written in Rust might give the dependency resolver a nice baseline speed boost, but optimisations matter too.
- frafra 4y agopdm is almost a drop-in replacement for Poetry, while being much faster on solving dependencies; look for "A Review: Pipenv vs. Poetry vs. PDM" if interested, or try it on your project.
- 5e92cb50239222b 4y agohttps://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39b4 https://dev.to/frostming/a-review-pipenv-vs-poetry-vs-pdm-39... https://news.ycombinator.com/item?id=29502715 https://news.ycombinator.com/item?id=29502715
- SAI_Peregrinus 4y agoThat, really, demonstrates the cultural problem Python packaging has. With Rust, if you have a packaging improvement you make a Cargo plugin or you write an RFC & get your changes added to Cargo itself. So the Rust package manager is Cargo, and you don't have an endless string of alternatives to pick among. Just keep using Cargo, and it keeps getting better.