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

preserve environ when calling galaxy #175

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

richm
Copy link
Contributor

@richm richm commented Jun 20, 2024

preserve the current os.environ when calling galaxy and override the
variables that require to be overridden

preserve the current os.environ when calling galaxy and override the
variables that require to be overridden
Copy link
Contributor

@spetrosi spetrosi left a comment

Choose a reason for hiding this comment

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

What'a a particular reason for this?

@richm
Copy link
Contributor Author

richm commented Jun 21, 2024

What'a a particular reason for this?

The code was nuking the PATH and PYTHONPATH set inside the venv. We need to preserve that and probably other environment settings. I'm surprised the code ever worked, or that we didn't run into this sooner.

@spetrosi
Copy link
Contributor

ok, lgtm

@richm richm merged commit 37af172 into linux-system-roles:main Jun 24, 2024
6 checks passed
@richm richm deleted the galaxy-needs-default-env branch June 24, 2024 21:17
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