From bc2a2af70307a8788b47ea9367d51ea12f61c7f7 Mon Sep 17 00:00:00 2001 From: Ramon Perez Date: Thu, 3 Oct 2024 11:12:43 +0000 Subject: [PATCH] updated python versions to 3.10 --- .github/workflows/images.yml | 6 +++--- python-builder/Dockerfile | 2 +- wrappers/s2i/python/Makefile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/images.yml b/.github/workflows/images.yml index 0eea4f6c05..57f263418c 100644 --- a/.github/workflows/images.yml +++ b/.github/workflows/images.yml @@ -130,9 +130,9 @@ jobs: env: VERSION: ${{ steps.docker-tag.outputs.value }} run: | - make docker-build docker-push PYTHON_VERSION=3.8.10 - make docker-tag-base-python docker-push-base-python PYTHON_VERSION=3.8.10 - docker save -o /tmp/base-wrapper.tar seldonio/seldon-core-s2i-python38:${VERSION} + make docker-build docker-push PYTHON_VERSION=3.10.15 + make docker-tag-base-python docker-push-base-python PYTHON_VERSION=3.10.15 + docker save -o /tmp/base-wrapper.tar seldonio/seldon-core-s2i-python310:${VERSION} - name: Upload artifact uses: actions/upload-artifact@v3 diff --git a/python-builder/Dockerfile b/python-builder/Dockerfile index 2f879145d6..c8f9be3fcb 100644 --- a/python-builder/Dockerfile +++ b/python-builder/Dockerfile @@ -33,7 +33,7 @@ RUN apt-get upgrade -y && \ # This is to install desired version of Python without updating conda version -ENV PYTHON_VERSION "3.7.10" +ENV PYTHON_VERSION "3.10.15" ENV CONDA_VERSION "4.7.12" RUN conda install --yes -c conda-forge python=$PYTHON_VERSION conda=$CONDA_VERSION diff --git a/wrappers/s2i/python/Makefile b/wrappers/s2i/python/Makefile index eb45d58ce4..b5c4362301 100644 --- a/wrappers/s2i/python/Makefile +++ b/wrappers/s2i/python/Makefile @@ -3,9 +3,9 @@ VERSION ?= $(shell cat ../../../version.txt) DOCKER_REGISTRY ?= seldonio -CONDA_DOWNLOAD_VERSION ?= py38_23.3.1-0 +CONDA_DOWNLOAD_VERSION ?= py310 CONDA_VERSION ?= 23.5.0 -PYTHON_VERSION ?= 3.8.10 +PYTHON_VERSION ?= 3.10.15 IMAGE_PYTHON_VERSION = $(shell echo -n $(PYTHON_VERSION) | cut -d. -f1-2 | sed 's/\.//g') DEFAULT_IMAGE_PYTHON_VERSION = $(shell echo -n $(PYTHON_VERSION) | cut -d. -f1)