Skip to content

Conversation

@konstin
Copy link
Member

@konstin konstin commented Jul 18, 2025

Reviewing #14687, I noticed that we had implemented a Url::from_url_or_path-like function, but it wasn't reusable. This change Verbatim::from_url_or_path so we can use it in other places too.

The PEP 508 parser is an odd place for this, but that's where VerbatimUrl and Scheme are already living.

Reviewing #14687, I noticed that we had implemented a `Url::from_url_or_path`-like function, but it wasn't reusable. This change `Verbatim::from_url_or_path` so we can use it in other places too.

The PEP 508 parser is an odd place for this, but that's where `VerbatimUrl` and `Scheme` are already living.
@konstin konstin added the internal A refactor or improvement that is not user-facing label Jul 18, 2025
@konstin konstin temporarily deployed to uv-test-registries July 18, 2025 11:06 — with GitHub Actions Inactive
@konstin konstin enabled auto-merge (squash) July 18, 2025 11:59
@konstin konstin temporarily deployed to uv-test-registries July 18, 2025 12:01 — with GitHub Actions Inactive
@konstin konstin merged commit 8f2f43c into main Jul 18, 2025
92 checks passed
@konstin konstin deleted the konsti/generic-path-or-url branch July 18, 2025 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants