Hacker News new | ask | show | jobs
by cik 2023 days ago
poetry has several advantages which I can no longer live without.

1. Packages are downloaded in parallel. This means dramatically quicker dependency resolution and download times.

2. Packages can be separated for development versions production environments.

3. Poetry only pins the packages you actually care about, unlike a pip freeze. One application I work on has 15 dependencies, which yields a little over 115 packages download. pip freeze makes it impossible to track actual dependencies, whereas poetry tracks my dependencies - and the non-pinned packages are in the poetry.lock file.

The rest is nice, but the above is essential.

1 comments

Hang about. Poetry is SLOW because it does not operate in parallel. It’s the one thing holding me back from a large project.

Unless this has recently changed?

I think this changed a month or two ago. It installs each "level" of the dependency tree in parallel.
Poetry 1.1 introduced parallel downloads. Even before that, it was an order of magnitude faster than its competitor Pipenv.