-
-
Couldn't load subscription status.
- Fork 635
Labels
type: pippip/pypi integrationpip/pypi integration
Description
After pip lock lands, this might become a better requirements.txt alternative.
References:
- pip (25.1) will export a lockfile - ETA 2 weeks PEP 751 experimental
pip lockcommand pypa/pip#13213 - packaging has landed the marker resolution (unlocks PDM, poetry, hatch) Support PEP 751 in
markerspypa/packaging#885 - uv is tracking it as an export format Add support for PEP 751 lockfiles astral-sh/uv#12584
- poetry still thinking about it https://github.com/orgs/python-poetry/discussions/10322
- pip-tools keen Implement PEP 751 "A file format to list Python dependencies for installation reproducibility" (a.k.a. lock files) jazzband/pip-tools#2124
This most likely depends on #2786.
Making this work needs:
- Extra marker evaluation support (Support
extrasanddependency_groupsin the PEP508 env marker evaluation #2786). - Parse toml to JSON using some predefined interpreter (set with Improve the
pip.parseAPI to allow for incremental building of the configuration #2747.defaults). - Map to the output like what
parse_requirementsis returning for easy plumbing. - Call the API for parsing
py.locksomething likepip.from_lock.
lithammer and chrisirhc
Sub-issues
Metadata
Metadata
Assignees
Labels
type: pippip/pypi integrationpip/pypi integration