Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(pypi): inherit proxy env variables in compile_pip_requirements test #2941

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

Merged
merged 4 commits into from
Jun 3, 2025

Conversation

herewasmike
Copy link
Contributor

Bazel does not pass environment variables implicitly (even running test outside of sandbox). This forces compile_pip_requirements test to fail with timeout when attempting to run it behind the proxy. Also changes test_command in dependency_resolver string helper to use dot instead of underscore following deprecation notice

Bazel does not pass environment variables implicitly (even running
test outside of sandbox). This forces compile_pip_requirements test to
fail with timeout when attempting to run it behind the proxy.
Also changes test_command in dependency_resolver string helper to use
dot instead of underscore following deprecation notice.
@aignas
Copy link
Collaborator

aignas commented May 30, 2025

Right now the user has to specify the env_inherit by themselves? This would break such users as the PR is right now?

@herewasmike
Copy link
Contributor Author

Yes, you're right, I've pushed the change to merge those lists if user-provided env_inherit variable.

Right now it is possible to specify env_inherit manually, but it's really unclear and requires a good bit of digging to understand that you need to do it

@aignas aignas added this pull request to the merge queue Jun 3, 2025
@aignas
Copy link
Collaborator

aignas commented Jun 3, 2025

Thank you for the contribution!

Merged via the queue into bazel-contrib:main with commit 9429ae6 Jun 3, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants