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

Add support for passing environment variables #82

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

dwink
Copy link
Contributor

@dwink dwink commented Sep 26, 2024

When including an env key in the conda and pip config sections, ozy will now include those environment variables in the environment when executing the installer process.

When including an `env` key in the `conda` and `pip` config sections,
ozy will now include those environment variables in the environment when
executing the installer process.
@dwink
Copy link
Contributor Author

dwink commented Sep 27, 2024

This supports the case where, for instance, you need to override the __cuda version for conda build...

Copy link
Contributor

@apmorton apmorton left a comment

Choose a reason for hiding this comment

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

seems like we may also want to push the env variables to pip itself - but not going to block on that

@dwink dwink merged commit 9601cf3 into main Sep 27, 2024
2 checks passed
@dwink dwink deleted the dwink/support-env-vars-in-conda branch September 27, 2024 19:14
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