Show a constraints file with exact pins.

Section: Constraints and Overrides

Example constraints file

text
text
urllib3==2.2.2
charset-normalizer==3.3.2
idna==3.7
Explanation

Constraints files do not declare top-level packages; they only restrict versions.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Constraints and Overrides
Constrain a direct install
Apply version constraints to a direct install.
OpenIn sheetbashsame section
Maintain layered requirement files
Example pattern for base + dev requirement layering.
OpenIn sheettextsame section
Install with required hashes
Require hash verification for all requirements.
Generate JSON install report
Write a structured report during installation.
Build a local wheelhouse
Download all requirements into a local artifact directory.
Sort frozen requirements
Create a sorted requirements snapshot.