Hacker News new | ask | show | jobs
by barefeg 1438 days ago
When your project depends on a module version and that module depends on another one (sub dependency), it’s very common that re-installing the same module version in a new environment will cause something to break because the sub dependency was updated. This is not something that direnv solves therefore those other tools are still needed.
1 comments

pip freeze > requirements.txt
Then you lose track of which are actual dependencies and which are sub dependencies
It doesn't matter. Pinning means pinning every dependencies and sub dependencies.