-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
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
bpo-33455: Pass os.environ in test_posix::test_specify_environment #6753
Conversation
The fix LGTM, but I don't think it is worth a news entry. News entries usually are added only for changes that affect many tests like adding new CLI option or new helper in test.support. |
Oh, I tough the news entry is mandatory. |
Usually yes, but we have a special label for the case when it is not required. |
Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function.
Amended. |
Thanks for the swift review. |
Thank you for your report and fix! |
Thanks @hroncok for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
…ythonGH-6753) Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function. (cherry picked from commit 7ec8f28) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
GH-6765 is a backport of this pull request to the 3.7 branch. |
…H-6753) Pass os.environ's copy to new process created at test_posix: test_specify_environment. Otherwise important variables such as LD_LIBRARY_PATH are not set and the child process might not work at all in an environment where such variables are required for Python to function. (cherry picked from commit 7ec8f28) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
Pass
os.environ
's copy to new process created attest_posix::test_specify_environment
. Otherwise important variables such asLD_LIBRARY_PATH
are not set and the child process might not work at allin an environment where such variables are required for Python to function.
https://bugs.python.org/issue33455