You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository rule for pip dependencies doesn't use repository_ctx.download(). This breaks usages of --experimental_downloader_config for example to use a transparent dependency mirror.
🐞 bug report
Affected Rule
Module extension:
Is this a regression?
Not sure.
Description
The repository rule for pip dependencies doesn't use
repository_ctx.download(). This breaks usages of--experimental_downloader_configfor example to use a transparent dependency mirror.🔬 Minimal Reproduction
https://github.com/bazelbuild/rules_python/blob/b6fc2a080d4884510dea02cc77b4e0b8fd3a0ccd/python/private/pypi/whl_library.bzl#L245-L256
https://github.com/bazelbuild/rules_python/blob/b6fc2a080d4884510dea02cc77b4e0b8fd3a0ccd/python/private/pypi/whl_installer/wheel_installer.py#L168-L190
🔥 Exception or Error
Stack trace prints to the code linked above.
🌍 Your Environment
Operating System:
Linux
Output of
bazel version:7.0.2
Rules_python version:
0.37.2
Anything else relevant?