Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: