diff --git a/build/__pythonVersions.sh b/build/__pythonVersions.sh index feeeeb0c46..c19581b1d8 100755 --- a/build/__pythonVersions.sh +++ b/build/__pythonVersions.sh @@ -1,6 +1,6 @@ # This file was auto-generated from 'constants.yaml'. Changes may be overridden. -PYTHON_RUNTIME_BASE_TAG='20240110.3' +PYTHON_RUNTIME_BASE_TAG='20240227.1' PIP_VERSION='21.2.4' PYTHON27_VERSION='2.7.18' PYTHON36_VERSION='3.6.15' @@ -8,5 +8,5 @@ PYTHON37_VERSION='3.7.15' PYTHON38_VERSION='3.8.18' PYTHON39_VERSION='3.9.18' PYTHON310_VERSION='3.10.13' -PYTHON311_VERSION='3.11.7' -PYTHON312_VERSION='3.12.1' +PYTHON311_VERSION='3.11.8' +PYTHON312_VERSION='3.12.2' diff --git a/build/constants.yaml b/build/constants.yaml index 1acdfee202..bd936e9283 100644 --- a/build/constants.yaml +++ b/build/constants.yaml @@ -149,7 +149,7 @@ file-name-prefix: __ - name: python-versions constants: - python-runtime-base-tag: 20240110.3 + python-runtime-base-tag: 20240227.1 pip-version: 21.2.4 python27-version: 2.7.18 python36-version: 3.6.15 @@ -157,8 +157,8 @@ python38-version: 3.8.18 python39-version: 3.9.18 python310-version: 3.10.13 - python311-version: 3.11.7 - python312-version: 3.12.1 + python311-version: 3.11.8 + python312-version: 3.12.2 runtime-versions: - 3.7-debian-bullseye - 3.7-debian-buster diff --git a/doc/supportedPlatformVersions.md b/doc/supportedPlatformVersions.md index ea9538f8bb..6826059ab7 100644 --- a/doc/supportedPlatformVersions.md +++ b/doc/supportedPlatformVersions.md @@ -1246,7 +1246,9 @@ - 3.9.18 - 3.10.13 - 3.11.7 +- 3.11.8 - 3.12.1 +- 3.12.2 ### bullseye @@ -1272,8 +1274,10 @@ - 3.11.0 - 3.11.6 - 3.11.7 +- 3.11.8 - 3.12.0 - 3.12.1 +- 3.12.2 ### buster @@ -1299,7 +1303,9 @@ - 3.10.13 - 3.11.6 - 3.11.7 +- 3.11.8 - 3.12.1 +- 3.12.2 ### focal-scm diff --git a/images/runtime/python/3.11/base.bookworm.Dockerfile b/images/runtime/python/3.11/base.bookworm.Dockerfile index 757a86c42e..c9eacb44cb 100644 --- a/images/runtime/python/3.11/base.bookworm.Dockerfile +++ b/images/runtime/python/3.11/base.bookworm.Dockerfile @@ -29,7 +29,7 @@ ADD build ${BUILD_DIR} RUN find ${IMAGES_DIR} -type f -iname "*.sh" -exec chmod +x {} \; RUN find ${BUILD_DIR} -type f -iname "*.sh" -exec chmod +x {} \; -ENV PYTHON_VERSION 3.11.7 +ENV PYTHON_VERSION 3.11.8 RUN true COPY build/__pythonVersions.sh ${BUILD_DIR} RUN true @@ -58,7 +58,7 @@ RUN --mount=type=secret,id=oryx_sdk_storage_account_access_token \ RUN set -ex \ && cd /opt/python/ \ - && ln -s 3.11.7 3.11 \ + && ln -s 3.11.8 3.11 \ && ln -s 3.11 3 \ && echo /opt/python/3/lib >> /etc/ld.so.conf.d/python.conf \ && ldconfig \ diff --git a/images/runtime/python/3.11/base.bullseye.Dockerfile b/images/runtime/python/3.11/base.bullseye.Dockerfile index 2bda50ea76..12b6be0c32 100644 --- a/images/runtime/python/3.11/base.bullseye.Dockerfile +++ b/images/runtime/python/3.11/base.bullseye.Dockerfile @@ -29,7 +29,7 @@ ADD build ${BUILD_DIR} RUN find ${IMAGES_DIR} -type f -iname "*.sh" -exec chmod +x {} \; RUN find ${BUILD_DIR} -type f -iname "*.sh" -exec chmod +x {} \; -ENV PYTHON_VERSION 3.11.0 +ENV PYTHON_VERSION 3.11.8 RUN true COPY build/__pythonVersions.sh ${BUILD_DIR} RUN true @@ -58,7 +58,7 @@ RUN --mount=type=secret,id=oryx_sdk_storage_account_access_token \ RUN set -ex \ && cd /opt/python/ \ - && ln -s 3.11.0 3.11 \ + && ln -s 3.11.8 3.11 \ && ln -s 3.11 3 \ && echo /opt/python/3/lib >> /etc/ld.so.conf.d/python.conf \ && ldconfig \ diff --git a/images/runtime/python/3.12/base.bookworm.Dockerfile b/images/runtime/python/3.12/base.bookworm.Dockerfile index 3ba1040821..89105f8d33 100644 --- a/images/runtime/python/3.12/base.bookworm.Dockerfile +++ b/images/runtime/python/3.12/base.bookworm.Dockerfile @@ -29,7 +29,7 @@ ADD build ${BUILD_DIR} RUN find ${IMAGES_DIR} -type f -iname "*.sh" -exec chmod +x {} \; RUN find ${BUILD_DIR} -type f -iname "*.sh" -exec chmod +x {} \; -ENV PYTHON_VERSION 3.12.1 +ENV PYTHON_VERSION 3.12.2 RUN true COPY build/__pythonVersions.sh ${BUILD_DIR} RUN true @@ -58,7 +58,7 @@ RUN --mount=type=secret,id=oryx_sdk_storage_account_access_token \ RUN set -ex \ && cd /opt/python/ \ - && ln -s 3.12.1 3.12 \ + && ln -s 3.12.2 3.12 \ && ln -s 3.12 3 \ && echo /opt/python/3/lib >> /etc/ld.so.conf.d/python.conf \ && ldconfig \ diff --git a/images/runtime/python/3.12/base.bullseye.Dockerfile b/images/runtime/python/3.12/base.bullseye.Dockerfile index 15355cdfaa..0bb1e30f02 100644 --- a/images/runtime/python/3.12/base.bullseye.Dockerfile +++ b/images/runtime/python/3.12/base.bullseye.Dockerfile @@ -29,7 +29,7 @@ ADD build ${BUILD_DIR} RUN find ${IMAGES_DIR} -type f -iname "*.sh" -exec chmod +x {} \; RUN find ${BUILD_DIR} -type f -iname "*.sh" -exec chmod +x {} \; -ENV PYTHON_VERSION 3.12.0 +ENV PYTHON_VERSION 3.12.2 RUN true COPY build/__pythonVersions.sh ${BUILD_DIR} RUN true @@ -58,7 +58,7 @@ RUN --mount=type=secret,id=oryx_sdk_storage_account_access_token \ RUN set -ex \ && cd /opt/python/ \ - && ln -s 3.12.0 3.12 \ + && ln -s 3.12.2 3.12 \ && ln -s 3.12 3 \ && echo /opt/python/3/lib >> /etc/ld.so.conf.d/python.conf \ && ldconfig \ diff --git a/platforms/python/versions/bookworm/versionsToBuild.txt b/platforms/python/versions/bookworm/versionsToBuild.txt index 0c07bdb65e..723c456f56 100644 --- a/platforms/python/versions/bookworm/versionsToBuild.txt +++ b/platforms/python/versions/bookworm/versionsToBuild.txt @@ -5,4 +5,6 @@ 3.9.18, E3FF2839C048B25C084DEBE9B26995E310250568, 3.10.13, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D, +3.11.8, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.12.1, 7169605F62C751356D054A26A821E680E5FA6305, +3.12.2, 7169605F62C751356D054A26A821E680E5FA6305, diff --git a/platforms/python/versions/bullseye/versionsToBuild.txt b/platforms/python/versions/bullseye/versionsToBuild.txt index bda54ae88f..3af7150599 100644 --- a/platforms/python/versions/bullseye/versionsToBuild.txt +++ b/platforms/python/versions/bullseye/versionsToBuild.txt @@ -10,8 +10,10 @@ 3.11.0b1, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D, +3.11.8, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.12.0, 7169605F62C751356D054A26A821E680E5FA6305, 3.12.1, 7169605F62C751356D054A26A821E680E5FA6305, +3.12.2, 7169605F62C751356D054A26A821E680E5FA6305, 3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, 3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, 3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, diff --git a/platforms/python/versions/buster/versionsToBuild.txt b/platforms/python/versions/buster/versionsToBuild.txt index cd5c2b7e2d..3ca0550d72 100644 --- a/platforms/python/versions/buster/versionsToBuild.txt +++ b/platforms/python/versions/buster/versionsToBuild.txt @@ -8,7 +8,9 @@ 3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D, +3.11.8, A035C8C19219BA821ECEA86B64E628F8D684696D, 3.12.1, 7169605F62C751356D054A26A821E680E5FA6305, +3.12.2, 7169605F62C751356D054A26A821E680E5FA6305, 3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, 3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, 3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D, diff --git a/src/BuildScriptGenerator/PythonVersions.cs b/src/BuildScriptGenerator/PythonVersions.cs index fbf101f240..b31d3d1ba9 100644 --- a/src/BuildScriptGenerator/PythonVersions.cs +++ b/src/BuildScriptGenerator/PythonVersions.cs @@ -6,7 +6,7 @@ namespace Microsoft.Oryx.BuildScriptGenerator.Common { public static class PythonVersions { - public const string PythonRuntimeBaseTag = "20240110.3"; + public const string PythonRuntimeBaseTag = "20240227.1"; public const string PipVersion = "21.2.4"; public const string Python27Version = "2.7.18"; public const string Python36Version = "3.6.15"; @@ -14,8 +14,8 @@ public static class PythonVersions public const string Python38Version = "3.8.18"; public const string Python39Version = "3.9.18"; public const string Python310Version = "3.10.13"; - public const string Python311Version = "3.11.7"; - public const string Python312Version = "3.12.1"; + public const string Python311Version = "3.11.8"; + public const string Python312Version = "3.12.2"; public static readonly List RuntimeVersions = new List { "3.7-debian-bullseye", "3.7-debian-buster", "3.8-debian-bookworm", "3.8-debian-bullseye", "3.8-debian-buster", "3.9-debian-bookworm", "3.9-debian-bullseye", "3.9-debian-buster", "3.10-debian-bookworm", "3.10-debian-bullseye", "3.10-debian-buster", "3.11-debian-bookworm", "3.11-debian-bullseye", "3.12-debian-bookworm", "3.12-debian-bullseye", "dynamic-debian-buster" }; } } \ No newline at end of file