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 provenance records for installed packages (PEP 710) #3012

Open
sethmlarson opened this issue Jul 11, 2024 · 0 comments · May be fixed by #3013
Open

Implement provenance records for installed packages (PEP 710) #3012

sethmlarson opened this issue Jul 11, 2024 · 0 comments · May be fixed by #3013
Labels
⭐ enhancement Improvements for existing features

Comments

@sethmlarson
Copy link

Is your feature/enhancement proposal related to a problem? Please describe.

My request is to implement recording provenance information (PEP 710 draft) for packages installed from an index into the environment. This record is useful for generating artifacts out of an existing Python environment, such as creating a lock file or Software Bill-of-Materials document from installed packages.

You can join the discussion on the PEP 710 proposal here.

There is already an existing pull request for pip (that will be rebased soon).

Describe the solution you'd like

PEP 710 is an "extension" of PEP 610, which PDM already supports. For packages that are installed not using PEP 610 a similar file (provenance_url.json) will be recorded into the dist-info in the environment with information about the download URL, hashes, and index.

cc @fridex

@sethmlarson sethmlarson added the ⭐ enhancement Improvements for existing features label Jul 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⭐ enhancement Improvements for existing features
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant