Skip to content

[Feature Request]: EXTRA_INDEX_URL env var for pip #16924

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
AR2000AR opened this issue Mar 28, 2025 · 0 comments
Open
1 task done

[Feature Request]: EXTRA_INDEX_URL env var for pip #16924

AR2000AR opened this issue Mar 28, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@AR2000AR
Copy link

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What would your feature do ?

It would be nice to have a EXTRA_INDEX_URL environment variable like the INDEX_URL environment var used in modules/launch_utils.py to set the pip --extra-index-url argument.

Alternative : Deprecate INDEX_URL and document using the pip env vars PIP_INDEX_URL and PIP_EXTRA_INDEX_URL

Proposed workflow

Set the EXTRA_INDEX_URL to something like https://download.pytorch.org/whl/rocm6.2.4
Run launch.py and let it install requirements using the extra index url and the default implicit one

Additional information

https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-extra-index-url

@AR2000AR AR2000AR added the enhancement New feature or request label Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant