-
Notifications
You must be signed in to change notification settings - Fork 4
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
Specifying PYENV for the same version as the base python causes package install failure #12
Comments
Error logs with the install AFTER the PYENV statement:
|
This appears to be caused by installing python3.9 over the top of the base python version. The specific install error here is likely irrelevant as many other issues might arise from overwriting the python binaries. addPythonVersion() should check if the requested version is already installed. This may not be possible without build-args so it may be necessary to assume python3.9 as the base and hard code a check.
|
Related issue, this also blocks installing multiple virtual environments using the |
The current astro-runtime includes python 3.9 as the "base" version. Creating a PYENV with 3.9 overwrites the python binaries which causes some package install failures downstream.
This will fail when the package is installed AFTER the PYENV statement completes.
Dockerfile:
This will succeed if the package installs before the PYENV statement.
The text was updated successfully, but these errors were encountered: