-
Notifications
You must be signed in to change notification settings - Fork 541
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
wheelinstaller does not use the archive when installing sdist #2090
Labels
need: repro
Needs a minimal reproduction
Comments
Found a potential fix #2091 , but hit a new issue:
Command looks good now:
|
Could you please create a minimum reproducible example? |
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 26, 2024
Before this PR the extra arguments added by the `experimental_index_url` code paths were not used and the `sdist` was being redownloaded every time we would build from `sdist`. This PR fixes the code to not ignore the extra args added in https://github.com/bazelbuild/rules_python/pull/2091/files#diff-c007ed21502bf8ea19b98b3f1b402e7071615f8520e4291b00a71bca2cd451e8R231 Fixes #2090 --------- Co-authored-by: aignas <240938+aignas@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐞 bug report
Version used: 59bb4a8
When using
experimental_index_url
, the index url is not respected when falling back to sdist, it is also not using the downloaded archive.Affected Rule
The likely cause is in
rules_python/python/private/pypi/whl_library.bzl
Line 233 in 59bb4a8
Is this a regression?
Not sure.
Description
A clear and concise description of the problem...🔬 Minimal Reproduction
experimental_index_url = <local pypi index url>
(Will add a repro later)
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: