The newly approved Python Enhancement Proposal 751 gives Python a standard lock file format for specifying the dependencies of projects. Here’s the what, why, and when. Python Enhancement Proposal ...
Human-readable and machine-generated lock file will specify what direct and indirect dependencies should be installed into a Python environment. Python’s builders have accepted a proposal to create a ...
pyproject.toml declares dependencies. uv.lock records the resolved versions. requirements.txt is a generated, pip-compatible export of that resolution, including development groups when present.