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

Use space as delimiter for UV_EXTRA_INDEX_URL #2140

Merged
merged 1 commit into from
Mar 3, 2024
Merged

Conversation

charliermarsh
Copy link
Member

Summary

I was looking at something unrelated and saw this in the Clap docs.

Closes #1702.

Test Plan

❯ UV_EXTRA_INDEX_URL="https://google.com https://foo.com" cargo run pip compile -
    Finished dev [unoptimized + debuginfo] target(s) in 0.14s
     Running `target/debug/uv pip compile -`
index: None
extra_index_url: [Url(VerbatimUrl { url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("google.com")), port: None, path: "/", query: None, fragment: None }, given: Some("https://google.com") }), Url(VerbatimUrl { url: Url { scheme: "https", cannot_be_a_base: false, username: "", password: None, host: Some(Domain("foo.com")), port: None, path: "/", query: None, fragment: None }, given: Some("https://foo.com") })]

@charliermarsh charliermarsh added bug Something isn't working compatibility Compatibility with another interface or tool labels Mar 3, 2024
@charliermarsh charliermarsh merged commit 6fa88f9 into main Mar 3, 2024
7 checks passed
@charliermarsh charliermarsh deleted the charlie/delimit branch March 3, 2024 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compatibility Compatibility with another interface or tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Index URL options do not parse "space separated" URLs as multiple options
1 participant