-
Notifications
You must be signed in to change notification settings - Fork 512
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
compile_pip_requirements
test fails with proxy
#1817
Comments
To disable the test you can pass |
If proxy requires authentication you may need |
@wingsofovnia : From what I can gather, the failure in the test target is due to sandboxing. I had an issue with using pip.parse() behind a proxy. The solution is to add extra_pip_args = ["--proxy=http:// |
Closing this as I think it is not a bug in |
馃悶 bug report
Affected Rule
The issue is caused by the rule:
compile_pip_requirements
(or ratherpy_test
($name_test
) generated by this macro)Is this a regression?
Unclear. I am a first-time user of
rules_python
.Description
When used behind proxy / VPN,
pip-compile
creates a lock file successfully (hence recognises proxy configuration), but its test fails. If VPN is turned off, the test passes.Although I recognise this might be a weird local setup, however, it is strange that the generation itself has connectivity but not test.
Is there a way to disable the test target?
馃敩 Minimal Reproduction
馃敟 Exception or Error
馃實 Your Environment
Operating System:
Output of
bazel version
:Rules_python version:
The text was updated successfully, but these errors were encountered: