Skip to content

Expand environment variables in user-provided index URLs #5734

Open
@charliermarsh

Description

@charliermarsh

Right now, we only support expansion (1) by the shell (of course) and (2) in requirements files. But the following don't expand:

  • cargo run pip install flask --index-url 'https://${PYPI_USERNAME}.com/repository/pypi-proxy/simple/flask/'
  • Anything in a uv.toml or pyproject.toml file

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibilityCompatibility with a specification or another toolneeds-decisionUndecided if this should be done

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions