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] - Setting env vars in conda store doesn't work in 2024.4.1 Nebari #2445

Closed
Adam-D-Lewis opened this issue May 3, 2024 · 4 comments
Closed
Labels
area: integration/conda-store needs: follow-up 📫 Someone needs to get back to this issue or PR type: bug 🐛 Something isn't working

Comments

@Adam-D-Lewis
Copy link
Member

Adam-D-Lewis commented May 3, 2024

Describe the bug

I created this scratch environment
image

I tried seeing if PYTHONUSERBASE was set after activating scratch and it wasn't set.
image

I'm not sure if the issue is in conda store config in Nebari or upstream in conda store.

Expected behavior

Env var should be set

OS and architecture in which you are running Nebari

Linux x86-64

How to Reproduce the problem?

see above
Nebari version - 2024.4.1

Command output

No response

Versions and dependencies used.

No response

Compute environment

None

Integrations

No response

Anything else?

No response

@Adam-D-Lewis Adam-D-Lewis added type: bug 🐛 Something isn't working needs: triage 🚦 Someone needs to have a look at this issue and triage area: integration/conda-store labels May 3, 2024
@marcelovilla marcelovilla removed the needs: triage 🚦 Someone needs to have a look at this issue and triage label May 9, 2024
@viniciusdc viniciusdc added the needs: follow-up 📫 Someone needs to get back to this issue or PR label May 17, 2024
@kcpevey
Copy link
Contributor

kcpevey commented May 28, 2024

@Adam-D-Lewis just to confirm - the same process works on your local machine with just conda?

@Adam-D-Lewis
Copy link
Member Author

Yes, it works for me locally (not using conda store, but just using a conda environment.yaml). Here's a reference https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#setting-environment-variables

@kcpevey
Copy link
Contributor

kcpevey commented May 28, 2024

@Adam-D-Lewis the only environment variable available to users is the GPU-specific variable, CONDA_OVERRIDE_CUDA.

I've opened an issue on conda-store to allow any environment variable to be passed (feature parity with conda). I'll close this as it will need to be fixed at the conda-store level.

@kcpevey kcpevey closed this as completed May 28, 2024
@gabalafou
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: integration/conda-store needs: follow-up 📫 Someone needs to get back to this issue or PR type: bug 🐛 Something isn't working
Projects
Development

No branches or pull requests

5 participants