Y
Hacker News
new
|
ask
|
show
|
jobs
by
goodoldneon
1475 days ago
Pipenv or Poetry. Pip by itself is missing some key features, like separating dev dependencies (e.g. mypy)
2 comments
kmarc
1475 days ago
I 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
link
goodoldneon
1475 days ago
Then you have to explicitly included all transitive dependencies for your dev dependencies, too. With Pipenv, only have to list your direct dev dependencies
link
nerdponx
1475 days ago
These both use Pip internally. They are wrappers, not replacements.
link
goodoldneon
1475 days ago
Right. I was replying to a comment that asks if there was anything that improves upon pip, which both Pipenv and Poetry do
link