pip-compile
A pip-tools command that resolves a short list of wanted packages into a fully pinned requirements.txt with every dependency.
In more detail
Running it again after changing requirements.in updates the pins in a controlled way. Each pinned line is followed by a via comment naming the package that required it.
Related terms
- lockfile — A file that records the exact version of every dependency, including transitive ones, so every install gets the same set.
- pip — Python's standard package installer, which downloads packages from the Python Package Index and installs them.
Taught in
- Software Composition Analysis with Trivy — Cloud Security & DevSecOps Engineering