Skip to content

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

Description

@sethmlarson

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ⭐ enhancementImprovements for existing features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions