Skip to content

Add support for PIP_* environment variable #1841

Closed as not planned
Closed as not planned

Description

@Czaki

Next to provide some options as command flag, the pip allows passing part of arugumnts using environment variable. (see https://pip.pypa.io/en/stable/topics/configuration/#environment-variables)

It will be nice if UV support this. Either by using PIP_* variables or for example using UV_*

In my case I heay use PIP_CONSTRAINT with tox as it allow to not need redefine install command.
Especially now it will be really nice when user could choose backend (using tox-uv plugin).

We need this ase our project has over 130 dependecies and has

filterwarnings = [
  "error:::napari", # turn warnings from napari into errors
  ...
]

in project settings so we need to pin test depenedcies to not have unrelated test faliture.

Activity

  1. hauntsaninja commented on Feb 21, 2024

    @hauntsaninja
    Contributor

    Duplicate of #1789

  2. charliermarsh commented on Feb 22, 2024

    @charliermarsh
    Member

    Agree, want to add these.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions