Skip to content
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

tests: don't propagage inner py_binary env to outer sh_test #2591

Closed

Conversation

rickeylev
Copy link
Collaborator

Per conversation in #2507, don't propagate the inner py_binary env to the outer sh_test.
This is because the sh-side expects to call the Python program with a particular environment
state, and it can't do that if the inner Python program is secretly setting things
in the environment.

@rickeylev rickeylev requested a review from aignas as a code owner January 29, 2025 01:12
@rickeylev
Copy link
Collaborator Author

Reverting -- I was mistaken in what was being propagated elsewhere. Code is fine as-is.

@rickeylev rickeylev closed this Jan 29, 2025
@rickeylev rickeylev deleted the refactor.dont.propagate.env branch January 29, 2025 06:20
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.

1 participant