Pin miniconda version to avoid breaking changes #139
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of changes:
This PR pins miniconda version to avoid breaking changes. See a related PR aws/sagemaker-scikit-learn-container#58 for an example where a rebuild of the image can bump the Python version.
aws/sagemaker-scikit-learn-container#58 uses ARG variables for version numbers, but since the 1.0-1 branch is no longer in active development and we expect only security patches and bug fixes to go into this branch, I opted for not using ARG variables and making only minimal changes.
Looking at https://repo.anaconda.com/miniconda/,
Miniconda3-latest-Linux-x86_64.sh
was released on 2020-06-16 with checksumd63adf39f2c220950a063e0529d4ff74
. Our last 1.0-1 deployment was on 2020-07-20. This corresponds toMiniconda3-py38_4.8.3-Linux-x86_64.sh
.The current prod image has Python 3.6. (The Python version is specified in here.
The image built from this PR:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.