Skip to content

Conversation

WillMorrison
Copy link
Contributor

This change updates _read_simpleapi such that it correctly handles the case where the index URL is specified in an environment variable and contains a trailing slash. The URL construction would have introduced an empty path segment, which is now removed.

Fixes: #2554

Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor comments only.

@WillMorrison WillMorrison requested a review from aignas January 14, 2025 18:40
Copy link
Collaborator

@aignas aignas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution!

@aignas aignas added this pull request to the merge queue Jan 14, 2025
Merged via the queue into bazel-contrib:main with commit eef839b Jan 14, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Trailing slashes not removed from pip index URLs in environment variables before concatenation.

2 participants