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

env: do not modify os.environ #3253

Merged
merged 1 commit into from
Mar 27, 2021
Merged

env: do not modify os.environ #3253

merged 1 commit into from
Mar 27, 2021

Conversation

abn
Copy link
Member

@abn abn commented Oct 20, 2020

Replace updates of os.environ with explcit passing of env to
subprocess calls.

Relates-to: #3199

@abn abn requested a review from a team October 20, 2020 11:08
@abn abn marked this pull request as ready for review October 24, 2020 07:49
@samvasko
Copy link

samvasko commented Dec 1, 2020

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?

@abn
Copy link
Member Author

abn commented Mar 22, 2021

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 kasteph merged commit 88888fc into python-poetry:1.1 Mar 27, 2021
@abn abn deleted the issue/3199 branch March 27, 2021 20:21
@sdispater sdispater mentioned this pull request Apr 9, 2021
Copy link

github-actions bot commented Mar 1, 2024

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants