The change in this file seems to be the cause of the downgraded version of Python.
https://github.com/aws/sagemaker-scikit-learn-container/blob/master/docker/1.2-1/base/Dockerfile.cpu
It seems this line is the cause of the downgrade.
echo "python ${PYTHON_VERSION}.*" >> /miniconda3/conda-meta/pinned && \
Could you help us with this issue?
Thanks.