env: do not modify os.environ#3253
Merged
kasteph merged 1 commit intopython-poetry:1.1from Mar 27, 2021
Merged
Conversation
3 tasks
|
Could you please describe how is this fix related to the bug you've mentioned? Is the assumption that the failures occur because the subprocess does not have access to the parent env variables? |
Member
Author
|
It does not resolve the linked issue but only relates to it. The assumption here is that part of the issue (not whole of it) is due to how env vars are being passed in the thread pool. |
Replace updates of os.environ with explcit passing of `env` to subprocess calls. Relates-to: python-poetry#3199
kasteph
approved these changes
Mar 27, 2021
Merged
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace updates of os.environ with explcit passing of
envtosubprocess calls.
Relates-to: #3199