7 ms·
is there an alternative to pip that improves on things? sort of like yarn for python?
by tomatowurst 4y ago
is there an alternative to pip that improves on things? sort of like yarn for python?
- bbkane 4y agoI haven't tried it, but I've heard good things about poetry
- mafro 4y agoPip has had ton of development in the last few years, and continues to do so. I'd say stick with pip, unless there's a specific problem you're addressing with pipenv or Poetry. However, like a sibling comment, I've also heard god things about Poetry. Probably worth giving it a spin somewhere and seeing if my initial thought still holds.
- sjellis 4y agoI've been experimenting with Hatch: https://hatch.pypa.io/ https://hatch.pypa.io/ The USP of Hatch is that it uses the latest generation of Python standards and tech under the covers, so you have a unified tool that's less quirky than previous ones. Poetry and pipenv predate some of the improvements in Python packaging, so had to develop some things in their own way.
- BiteCode_dev 4y agoPoetry is the cleanest python deps handling experience, and I would recommend it as well. But it is very slow.
- goodoldneon 4y agoPipenv or Poetry. Pip by itself is missing some key features, like separating dev dependencies (e.g. mypy)
- kmarc 4y agoI think it's a pretty common pattern to use pip install -r requirements-dev.txt Not the most convenient, but solves (works around) the issue
- goodoldneon 4y agoThen you have to explicitly included all transitive dependencies for your dev dependencies, too. With Pipenv, only have to list your direct dev dependencies
- nerdponx 4y agoThese both use Pip internally. They are wrappers, not replacements.
- goodoldneon 4y agoRight. I was replying to a comment that asks if there was anything that improves upon pip, which both Pipenv and Poetry do