This PR addresses python3.6 end of life. As the SDK components now require python >= 3.7, we must make changes away from 3.6 otherwise sdk container build will fail.
Before this PR, the SDK containers would install python with a hard coded version of 3.6. This PR proposes that a script be used to install python with an argument to specify 3.7, 3.8, or 3.9. This value is passed into the container build through the use of a build argument with the default value of 3.7. This build argument is now also an addition to the build matrix, adding additional tests.
Because conda should handle its own python installation, the script install-python.sh is only called when the PACKAGE_MANAGER==pip. When conda is the package manager, the python version is injected into the conda environment.yaml. There are some current issues with using python 3.8 and 3.8 with conda where the conda build cannot resolve. There is also an issue with where using conda to install python causes an error during flux installation with ubuntu. For that reason, these test cases have been removed from the test matrix.
This PR addresses python3.6 end of life. As the SDK components now require python >= 3.7, we must make changes away from 3.6 otherwise sdk container build will fail.
Before this PR, the SDK containers would install python with a hard coded version of 3.6. This PR proposes that a script be used to install python with an argument to specify 3.7, 3.8, or 3.9. This value is passed into the container build through the use of a build argument with the default value of 3.7. This build argument is now also an addition to the build matrix, adding additional tests.
Because conda should handle its own python installation, the script
install-python.sh
is only called when thePACKAGE_MANAGER==pip
. When conda is the package manager, the python version is injected into the conda environment.yaml. There are some current issues with using python 3.8 and 3.8 with conda where the conda build cannot resolve. There is also an issue with where using conda to install python causes an error during flux installation with ubuntu. For that reason, these test cases have been removed from the test matrix.