Skip to content
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

uv tool install does not respect index-url from pyproject.toml #8164

Closed
benjs opened this issue Oct 14, 2024 · 2 comments
Closed

uv tool install does not respect index-url from pyproject.toml #8164

benjs opened this issue Oct 14, 2024 · 2 comments
Labels
enhancement New feature or improvement to existing functionality

Comments

@benjs
Copy link

benjs commented Oct 14, 2024

UV tool does not look into the pyproject.toml for already specified indices.

pyproject.toml:

[tool.uv]
index-url = "https://<my-index-url.com>/pypi/pypi/simple"

command:

uv tool install ruff

uv --version:

uv 0.4.18

Specifying the index url with --index-url worked, but is annoying :)
Thanks for this great tool!

@charliermarsh
Copy link
Member

Thanks! This is actually intentional right now. We have a separate design for "project-level tools" (i.e., tools that would be versioned and installed as part of the project, but given their own independent virtual environments) that we want to implement to solve this specific use-case. It's part of #3560.

@charliermarsh
Copy link
Member

I'm gonna close in favor of that issue since we're tracking it centrally as part of that effort.

@charliermarsh charliermarsh closed this as not planned Won't fix, can't repro, duplicate, stale Oct 14, 2024
@charliermarsh charliermarsh added the enhancement New feature or improvement to existing functionality label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or improvement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants