Skip to content

latest pip supports -r pylock.toml #2

@kapouer

Description

@kapouer

With pip 26.1, one can generate the pylock (without too recent modules, to avoid being the first target of a supply-chain attack)

python -m pip lock .   --uploaded-prior-to=P7D   -o pylock.toml

and then upon install

python -m pip -r pylock.toml

To install using a remote tarball, the simplest option (unless pip supports it) would be:

  • pip download <url>
  • cd into the downloaded extracted directory,
  • pip install -r pylock.toml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions