-
Notifications
You must be signed in to change notification settings - Fork 879
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 pip install/compile fails on AWS codeartifact repo #1388
Comments
I'm seeing similar 404s on a jfrog.io repository |
Does this work if you include the We do not have a CodeArtifact repo to test with yet. |
I can set one up for us, important to have. |
sorry, maybe I should have picked a less confusing package to install. but
|
Ahh thank you! So to highlight the difference here:
It looks like we're failing to include the package name. |
My guess is that the index returns relative URLs, and we're making them relative to the index rather than to the page that we requested. |
@raylu - Is there any way you can confirm for me, if you request the |
I also tried with |
Thanks, that's great! I assume there's no |
Exploring in #1413 |
yeah, no |
👍 I think we've pinpointed the problem, thank you! |
Should be fixed in 829a1ed |
Closes #1388 Fixes incorrect handling of relative paths returned by indexes without an explicit `<base>`. `Url.join` will drop the last segment in an url e.g. `http://foo/bar` -> `http://foo/baz` if there is not a trailing slash but what we want is `http://foo/bar/baz`. We don't add the trailing `/` in `base_url_join_relative` because flat indexes are `http://foo/bar.html` and we _want_ `bar.html` to be replaced.
pip works:
but uv doesn't:
notice that pip is using
/simple/pip/24.0
but uv is using/simple/24.0
related (but different URL patterns): #1362, #1371
based on #651, do you already have a AWS codeartifact repo handy to test with?
The text was updated successfully, but these errors were encountered: