Skip to content

Commit e23a615

Browse files
author
Mark Bunday
committed
Upgrade Python version from 3.8 to 3.10
1 parent fb7d0f8 commit e23a615

File tree

10 files changed

+11
-9
lines changed

10 files changed

+11
-9
lines changed

ci/buildspec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
python: 3.8
6+
python: 3.10
77
docker: 17
88
pre_build:
99
commands:

ci/buildspec_amd64.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
python: 3.8
6+
python: 3.10
77
docker: 19
88
pre_build:
99
commands:

ci/buildspec_arm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
python: 3.8
6+
python: 3.10
77
docker: 19
88
pre_build:
99
commands:

ci/buildspec_multiarch.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 0.2
33
phases:
44
install:
55
runtime-versions:
6-
python: 3.8
6+
python: 3.10
77
docker: 19
88
commands:
99
- yum update -y

docker/1.5-1/base/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ARG MINICONDA_VERSION=4.9.2
88
ARG CONDA_PY_VERSION=39
99
ARG CONDA_CHECKSUM="b4e46fcc8029e2cfa731b788f25b1d36"
1010
ARG CONDA_PKG_VERSION=4.10.1
11-
ARG PYTHON_VERSION=3.8.13
11+
ARG PYTHON_VERSION=3.10.4
1212
ARG PYARROW_VERSION=1.0
1313
ARG MLIO_VERSION=0.7.0
1414
ARG XGBOOST_VERSION=1.5.2

docker/1.5-1/base/Dockerfile_arm64.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG MINICONDA_VERSION=4.9.2
77
ARG CONDA_PY_VERSION=39
88
ARG CONDA_CHECKSUM="af1c16d821569ebf1bdaf549fcba7d27"
99
ARG CONDA_PKG_VERSION=4.10.1
10-
ARG PYTHON_VERSION=3.8.13
10+
ARG PYTHON_VERSION=3.10.4
1111
ARG PYARROW_VERSION=1.0
1212
ARG MLIO_VERSION=arch-agnostic
1313
ARG XGBOOST_VERSION=1.5.2

docker/1.5-1/final/Dockerfile.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG SAGEMAKER_XGBOOST_VERSION=1.5-1
2-
ARG PYTHON_VERSION=3.8
2+
ARG PYTHON_VERSION=3.10
33

44
FROM xgboost-container-base:${SAGEMAKER_XGBOOST_VERSION}-cpu-py3
55

docker/1.5-1/final/Dockerfile_arm64.cpu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
ARG SAGEMAKER_XGBOOST_VERSION=1.5-1
2-
ARG PYTHON_VERSION=3.8
2+
ARG PYTHON_VERSION=3.10
33

44
FROM xgboost-container-base:${SAGEMAKER_XGBOOST_VERSION}-cpu-py3-arm64
55

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ def read(fname):
3131
'Programming Language :: Python :: 3.6',
3232
'Programming Language :: Python :: 3.7',
3333
'Programming Language :: Python :: 3.8',
34+
'Programming Language :: Python :: 3.9',
35+
'Programming Language :: Python :: 3.10',
3436
],
3537

3638
install_requires=read("requirements.txt"),

test/resources/versions/train.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
PYTHON_MAJOR_VERSION = 3
6-
PYTHON_MINOR_VERSION = 8
6+
PYTHON_MINOR_VERSION = 10
77
REQUIREMENTS = """\
88
Flask==1.1.1
99
Pillow==9.1.0

0 commit comments

Comments
 (0)