Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a lockfile format #31

Open
xmunoz opened this issue Apr 26, 2021 · 5 comments
Open

Implement a lockfile format #31

xmunoz opened this issue Apr 26, 2021 · 5 comments

Comments

@xmunoz
Copy link
Member

xmunoz commented Apr 26, 2021

pip currently uses requirements.txt to specify dependencies; it can specify versions of packages but not hashes. The newer pipfile format can include hashes, which some users prefer. But pip doesn't yet support pipfile, so many users are blocked from using hashes to better secure their Python runtimes. We have made some progress toward standardizing an interoperable lockfile format, but we need to finish that design standardization and consensus-gathering work and implement it in pip, pipenv, and related tools. We'd need Python engineering work and project management to develop and deploy this.

Related: PEP 650 -- Specifying Installer Requirements for Python Projects

@pradyunsg
Copy link
Contributor

This has been picked up by volunteers, who've worked on this since Feb 2021 -- PEP 665 and https://discuss.python.org/t/11736/ is the current effort.

@xmunoz xmunoz closed this as completed Dec 9, 2021
@di
Copy link
Member

di commented Dec 9, 2021

I think the "and implement" part still might require funding here?

@xmunoz
Copy link
Member Author

xmunoz commented Dec 9, 2021

Ok, I'll re-open and update the title.

@xmunoz xmunoz reopened this Dec 9, 2021
@xmunoz xmunoz changed the title Standardize and implement a lockfile format Implement a lockfile format Dec 9, 2021
@AkechiShiro
Copy link

AkechiShiro commented Nov 30, 2023

What is left to do here ? @xmunoz @pradyunsg PEP 665 has been rejected, is there any new follow-up PEP ?
Is the design for the lockfile standardized ? Can work on the support for pip start ?

@pradyunsg
Copy link
Contributor

What is left to do here ?

A follow up PEP, specifying a lock file format that also caters to source distributions (since that has been requested).

PEP 665 has been rejected, is there any new follow-up PEP ?

Not at this time, no.

Is the design for the lockfile standardized ?

Not at this time, no.

Can work on the support for pip start ?

Not at this time, no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants