Skip to content

Remove installed version of pip from distribution #1007

@jjhelmus

Description

@jjhelmus

Distribution artifacts include two separate pip distribution:

  • The one included with ensurepip
  • The one installed in site-packages.

The former is used when creating a virtual environment (e.g. python -m venv).

The later is used if python -m pip is run from the unpacked distribution which IMHO should not be done, at minimum a virtual environment should be created.

When installed by uv I do not think the installed version of pip is ever used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions