You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It probably boils down to recorded and restoring the environment before/after installing an extension, in install_extensions_sequential, you can use the restore_env function for that.
Not sure what needs to happen to also make that work correctly with install_extensions_parallel, since environment variables are global...
Example of this happening: The PyTorch bundle has torchvision and torchaudio.
https://github.com/easybuilders/easybuild-easyconfigs/blob/df6a3afb8ad03f0bc72c2652a3f3781c56af0b6b/easybuild/easyconfigs/p/PyTorch-bundle/PyTorch-bundle-2.1.2-foss-2023a-CUDA-12.1.1.eb#L104
torchvision sets the environment variable BUILD_VERSION globally, and torchaudio happens to have a setup.py that does
which introduces the bug that the version is misreported for torchaudio as 0.16.2, despite it being 2.1.2
run_cmd(..., env=custom_env)
.This goes to os.environ as well as the cwd.
I don't know if we have any situations where we rely on leaky behavior like this, though we really should avoid it.
The text was updated successfully, but these errors were encountered: