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

Bug 1745908 - Python: Copy the environment when launching the upload process #1908

Merged
merged 1 commit into from
Dec 15, 2021

Conversation

badboy
Copy link
Member

@badboy badboy commented Dec 15, 2021

The previous fix set the PYTHONPATH for the subprocess.
That overwrites the complete environment, clearing out any other
variables.
That can cause problems when other parts rely on something, such as the
RNG in Python relying on SYSTEMROOT

The previous fix set the `PYTHONPATH` for the subprocess.
That overwrites the complete environment, clearing out any other
variables.
That can cause problems when other parts rely on something, such as the
RNG in Python relying on `SYSTEMROOT`
@auto-assign auto-assign bot requested a review from Dexterp37 December 15, 2021 09:33
Copy link
Contributor

@Dexterp37 Dexterp37 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha! Whoops.

@Dexterp37
Copy link
Contributor

@badboy would you kindly add a changelog entry?

@badboy
Copy link
Member Author

badboy commented Dec 15, 2021

@badboy would you kindly add a changelog entry?

I'll follow this up with a release, I'll do it there.

@badboy badboy merged commit a5ccb26 into main Dec 15, 2021
@badboy badboy deleted the python/copy-environment branch December 15, 2021 09:49
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