Hacker News new | ask | show | jobs
by bvrmn 1415 days ago
> pip freeze doesn't pin transitive dependencies

AFAIK it lists all installed packages and hence pins all dependencies.

1 comments

Yes, unfortunately all dependencies are frozen at the same level, so it becomes really hard to distinguish between what your actual dependencies, and sub-dependencies, and sub-sub-dependencies are.
Use pip install -c constraints.txt.