Compile Deterministic Python Lock Files from Requirements Inputs with pip-tools
Resolve Python dependency inputs into deterministic lock files and sync environments without hand-editing transitive pins.
What it does
Compile Deterministic Python Lock Files from Requirements Inputs with pip-tools
Resolve Python dependency inputs into deterministic lock files and sync environments without hand-editing transitive pins.
Prerequisites
Python, pip-tools, dependency input files
Installation
Use the upstream install or setup path that matches your environment:
- (venv) $ python -m pip install pip-tools
- pipx run --spec pip-tools pip-compile if pipx was installed with the
- pip-compile should be run from the same virtual environment as your
- official standard, you can use pip-compile to pin the dependencies
Requirements and caveats from upstream:
- even when you've pinned them. You do pin them, right? (In building your Python
- Similar to pip, pip-tools must be installed in each of your project's
- virtual environments:
Basic usage or getting-started notes:
-
console
-
$ source /path/to/venv/bin/activate
-
Note: all of the remaining example commands assume you've activated your
-
Extracted from upstream docs: https://raw.githubusercontent.com/jazzband/pip-tools/HEAD/README.md
Documentation
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,455 chars)