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

ignore user python packages by using -s option when running Python code via python -c #3440

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Flamefire
Copy link
Contributor

To avoid the user environment (Python packages installed to $HOME/lib/python*) pass -s to all invocations of python -c.

To avoid the user environment (Python packages installed to $HOME/lib/python*)
pass `-s` to all invocations of `python -c`.
@boegel boegel changed the title ignore user python packages ignore user python packages by using -s option when running Python code via python -c Sep 11, 2024
@boegel
Copy link
Member

boegel commented Sep 11, 2024

@Flamefire Also here, we should add a check to the test suite to avoid that use of python -c without -s is introduced again going forward...

@boegel boegel added this to the release after 4.9.3 milestone Sep 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants