зеркало из https://github.com/microsoft/Oryx.git
New Python Sdks 2023-07-05 (#2037)
* Add new python SDK versions * Revert stretch changes * Update runtime tag * Fix space * Fix space * Add new python SDK versions * Fix space * Fix space * Fix space * Update archived mirror sources for stretch * Update runtime tag --------- Co-authored-by: Oryx Team <oryx@microsoft.com>
This commit is contained in:
Родитель
71ed1de2a3
Коммит
0bd28e6991
|
@ -1,11 +1,11 @@
|
|||
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.
|
||||
|
||||
PYTHON_RUNTIME_BASE_TAG='20230316.1'
|
||||
PYTHON_RUNTIME_BASE_TAG='20230706.2'
|
||||
PIP_VERSION='21.2.4'
|
||||
PYTHON27_VERSION='2.7.18'
|
||||
PYTHON36_VERSION='3.6.15'
|
||||
PYTHON37_VERSION='3.7.15'
|
||||
PYTHON38_VERSION='3.8.16'
|
||||
PYTHON39_VERSION='3.9.15'
|
||||
PYTHON310_VERSION='3.10.8'
|
||||
PYTHON311_VERSION='3.11.0'
|
||||
PYTHON37_VERSION='3.7.17'
|
||||
PYTHON38_VERSION='3.8.17'
|
||||
PYTHON39_VERSION='3.9.17'
|
||||
PYTHON310_VERSION='3.10.12'
|
||||
PYTHON311_VERSION='3.11.4'
|
||||
|
|
|
@ -138,15 +138,15 @@
|
|||
file-name-prefix: __
|
||||
- name: python-versions
|
||||
constants:
|
||||
python-runtime-base-tag: 20230316.1
|
||||
python-runtime-base-tag: 20230706.2
|
||||
pip-version: 21.2.4
|
||||
python27-version: 2.7.18
|
||||
python36-version: 3.6.15
|
||||
python37-version: 3.7.15
|
||||
python38-version: 3.8.16
|
||||
python39-version: 3.9.15
|
||||
python310-version: 3.10.8
|
||||
python311-version: 3.11.0
|
||||
python37-version: 3.7.17
|
||||
python38-version: 3.8.17
|
||||
python39-version: 3.9.17
|
||||
python310-version: 3.10.12
|
||||
python311-version: 3.11.4
|
||||
runtime-versions:
|
||||
3.7: debian-bullseye
|
||||
3.8: debian-bullseye
|
||||
|
@ -445,4 +445,4 @@
|
|||
namespace: Microsoft.Oryx.BuildScriptGenerator.Common
|
||||
- type: shell
|
||||
directory: build
|
||||
file-name-prefix: __
|
||||
file-name-prefix: __
|
|
@ -1076,20 +1076,25 @@
|
|||
- 3.7.9
|
||||
- 3.7.12
|
||||
- 3.7.15
|
||||
- 3.7.17
|
||||
- 3.8.6
|
||||
- 3.8.12
|
||||
- 3.8.15
|
||||
- 3.8.16
|
||||
- 3.8.17
|
||||
- 3.9.0
|
||||
- 3.9.1rc1
|
||||
- 3.9.7
|
||||
- 3.9.15
|
||||
- 3.9.17
|
||||
- 3.10.0a2
|
||||
- 3.10.0
|
||||
- 3.10.4
|
||||
- 3.10.8
|
||||
- 3.10.12
|
||||
- 3.11.0b1
|
||||
- 3.11.0
|
||||
- 3.11.4
|
||||
|
||||
### buster
|
||||
|
||||
|
@ -1098,18 +1103,23 @@
|
|||
- 3.7.9
|
||||
- 3.7.12
|
||||
- 3.7.15
|
||||
- 3.7.17
|
||||
- 3.8.6
|
||||
- 3.8.12
|
||||
- 3.8.15
|
||||
- 3.8.16
|
||||
- 3.8.17
|
||||
- 3.9.0
|
||||
- 3.9.1rc1
|
||||
- 3.9.7
|
||||
- 3.9.15
|
||||
- 3.9.17
|
||||
- 3.10.0a2
|
||||
- 3.10.0
|
||||
- 3.10.4
|
||||
- 3.10.8
|
||||
- 3.10.12
|
||||
- 3.11.4
|
||||
|
||||
### focal-scm
|
||||
|
||||
|
@ -1118,18 +1128,23 @@
|
|||
- 3.7.9
|
||||
- 3.7.12
|
||||
- 3.7.15
|
||||
- 3.7.17
|
||||
- 3.8.6
|
||||
- 3.8.12
|
||||
- 3.8.15
|
||||
- 3.8.16
|
||||
- 3.8.17
|
||||
- 3.9.0
|
||||
- 3.9.1rc1
|
||||
- 3.9.7
|
||||
- 3.9.15
|
||||
- 3.9.17
|
||||
- 3.10.0a2
|
||||
- 3.10.0
|
||||
- 3.10.4
|
||||
- 3.10.8
|
||||
- 3.10.12
|
||||
- 3.11.4
|
||||
|
||||
### stretch
|
||||
|
||||
|
@ -1155,6 +1170,7 @@
|
|||
- 3.7.9
|
||||
- 3.7.12
|
||||
- 3.7.15
|
||||
- 3.7.17
|
||||
- 3.8.0b3
|
||||
- 3.8.0b4
|
||||
- 3.8.0
|
||||
|
@ -1168,14 +1184,18 @@
|
|||
- 3.8.12
|
||||
- 3.8.15
|
||||
- 3.8.16
|
||||
- 3.8.17
|
||||
- 3.9.0
|
||||
- 3.9.1rc1
|
||||
- 3.9.7
|
||||
- 3.9.15
|
||||
- 3.9.17
|
||||
- 3.10.0a2
|
||||
- 3.10.0
|
||||
- 3.10.4
|
||||
- 3.10.8
|
||||
- 3.10.12
|
||||
- 3.11.4
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -13,6 +13,14 @@ COPY build/__pythonVersions.sh /tmp/
|
|||
COPY platforms/python/prereqs/build.sh /tmp/
|
||||
COPY images/receiveGpgKeys.sh /tmp/receiveGpgKeys.sh
|
||||
RUN chmod +x /tmp/receiveGpgKeys.sh
|
||||
|
||||
# stretch was removed from security.debian.org and deb.debian.org, so update the sources to point to the archived mirror
|
||||
RUN if [ "${DEBIAN_FLAVOR}" = "stretch" ]; then \
|
||||
sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch-updates/# deb http:\/\/deb.debian.org\/debian stretch-updates/g' /etc/apt/sources.list \
|
||||
&& sed -i 's/^deb http:\/\/security.debian.org\/debian-security stretch/deb http:\/\/archive.debian.org\/debian-security stretch/g' /etc/apt/sources.list \
|
||||
&& sed -i 's/^deb http:\/\/deb.debian.org\/debian stretch/deb http:\/\/archive.debian.org\/debian stretch/g' /etc/apt/sources.list ; \
|
||||
fi
|
||||
|
||||
RUN chmod +x /tmp/build.sh && \
|
||||
apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
# version, gpg keys, dockerfile
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.12, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.0, A035C8C19219BA821ECEA86B64E628F8D684696D
|
||||
3.11.0b1, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.7.17, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.8.12, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.16, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.8.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.0, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.1rc1, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.7, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
|
||||
3.11.0b1, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.0, A035C8C19219BA821ECEA86B64E628F8D684696D
|
||||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
# version, gpg keys, dockerfile
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.12, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.7.17, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.8.12, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.16, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.8.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.0, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.1rc1, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.7, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
# version, gpg keys, dockerfile
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.12, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.7.17, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.8.12, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.16, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.8.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.0, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.1rc1, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.7, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
|
|
|
@ -1,24 +1,25 @@
|
|||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
# version, gpg keys, dockerfile
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.12, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.11.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.7.17, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
|
||||
3.8.12, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.16, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.8.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.8.6, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.0, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.17, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.1rc1, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.7, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
|
||||
|
||||
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
|
||||
|
||||
# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
|
||||
|
|
|
@ -6,15 +6,15 @@ namespace Microsoft.Oryx.BuildScriptGenerator.Common
|
|||
{
|
||||
public static class PythonVersions
|
||||
{
|
||||
public const string PythonRuntimeBaseTag = "20230316.1";
|
||||
public const string PythonRuntimeBaseTag = "20230706.2";
|
||||
public const string PipVersion = "21.2.4";
|
||||
public const string Python27Version = "2.7.18";
|
||||
public const string Python36Version = "3.6.15";
|
||||
public const string Python37Version = "3.7.15";
|
||||
public const string Python38Version = "3.8.16";
|
||||
public const string Python39Version = "3.9.15";
|
||||
public const string Python310Version = "3.10.8";
|
||||
public const string Python311Version = "3.11.0";
|
||||
public const string Python37Version = "3.7.17";
|
||||
public const string Python38Version = "3.8.17";
|
||||
public const string Python39Version = "3.9.17";
|
||||
public const string Python310Version = "3.10.12";
|
||||
public const string Python311Version = "3.11.4";
|
||||
public static readonly Dictionary<string, string> RuntimeVersions = new Dictionary<string, string> { { "3.7", "debian-bullseye" }, { "3.8", "debian-bullseye" }, { "3.9", "debian-buster" }, { "3.10", "debian-bullseye" }, { "3.11", "debian-bullseye" }, { "dynamic", "debian-buster" } };
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче