Skip to content

Commit

Permalink
New Python Sdks 2023-12-04 (#2274)
Browse files Browse the repository at this point in the history
* Add new python SDK versions

* Add runtime build number

---------

Co-authored-by: Oryx Team <[email protected]>
Co-authored-by: William Hernandez <[email protected]>
  • Loading branch information
3 people authored Jan 2, 2024
1 parent ecdd9c2 commit 5faefeb
Show file tree
Hide file tree
Showing 8 changed files with 23 additions and 19 deletions.
4 changes: 2 additions & 2 deletions build/__pythonVersions.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# This file was auto-generated from 'constants.yaml'. Changes may be overridden.

PYTHON_RUNTIME_BASE_TAG='20231102.1'
PYTHON_RUNTIME_BASE_TAG='20231205.1'
PIP_VERSION='21.2.4'
PYTHON27_VERSION='2.7.18'
PYTHON36_VERSION='3.6.15'
PYTHON37_VERSION='3.7.15'
PYTHON38_VERSION='3.8.18'
PYTHON39_VERSION='3.9.18'
PYTHON310_VERSION='3.10.13'
PYTHON311_VERSION='3.11.6'
PYTHON311_VERSION='3.11.7'
PYTHON312_VERSION='3.12.0'
4 changes: 2 additions & 2 deletions build/constants.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,15 +149,15 @@
file-name-prefix: __
- name: python-versions
constants:
python-runtime-base-tag: 20231102.1
python-runtime-base-tag: 20231205.1
pip-version: 21.2.4
python27-version: 2.7.18
python36-version: 3.6.15
python37-version: 3.7.15
python38-version: 3.8.18
python39-version: 3.9.18
python310-version: 3.10.13
python311-version: 3.11.6
python311-version: 3.11.7
python312-version: 3.12.0
runtime-versions:
- 3.7-debian-bullseye
Expand Down
5 changes: 4 additions & 1 deletion doc/supportedPlatformVersions.md
Original file line number Diff line number Diff line change
Expand Up @@ -1225,7 +1225,6 @@
- 3.9.1rc1
- 3.9.7
- 3.9.15
- 3.9.15
- 3.9.18
- 3.10.0a2
- 3.10.0
Expand All @@ -1235,6 +1234,7 @@
- 3.11.0b1
- 3.11.0
- 3.11.6
- 3.11.7
- 3.12.0

### buster
Expand All @@ -1260,6 +1260,7 @@
- 3.10.8
- 3.10.13
- 3.11.6
- 3.11.7

### focal-scm

Expand All @@ -1284,6 +1285,7 @@
- 3.10.8
- 3.10.13
- 3.11.6
- 3.11.7

### stretch

Expand Down Expand Up @@ -1334,6 +1336,7 @@
- 3.10.8
- 3.10.13
- 3.11.6
- 3.11.7



Expand Down
22 changes: 10 additions & 12 deletions platforms/python/versions/bullseye/versionsToBuild.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@

# 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.13, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.0b1, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.12.0, 7169605F62C751356D054A26A821E680E5FA6305,
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.7.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.7.9, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
Expand All @@ -14,15 +24,3 @@
3.9.18, E3FF2839C048B25C084DEBE9B26995E310250568,
3.9.1rc1, E3FF2839C048B25C084DEBE9B26995E310250568,
3.9.7, E3FF2839C048B25C084DEBE9B26995E310250568,
3.9.15, E3FF2839C048B25C084DEBE9B26995E310250568,
3.10.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.0a2, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.13, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.0, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.0b1, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.12.0, 7169605F62C751356D054A26A821E680E5FA6305,

# NOTE: Make sure to set the default version in 'defaultVersion.txt' file
1 change: 1 addition & 0 deletions platforms/python/versions/buster/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
Expand Down
1 change: 1 addition & 0 deletions platforms/python/versions/focal-scm/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
Expand Down
1 change: 1 addition & 0 deletions platforms/python/versions/stretch/versionsToBuild.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
3.10.4, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.10.8, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.6, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.11.7, A035C8C19219BA821ECEA86B64E628F8D684696D,
3.6.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.6.15, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
3.7.12, 0D96DF4D4110E5C43FBFB17F2D347EA6AA65421D,
Expand Down
4 changes: 2 additions & 2 deletions src/BuildScriptGenerator/PythonVersions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ namespace Microsoft.Oryx.BuildScriptGenerator.Common
{
public static class PythonVersions
{
public const string PythonRuntimeBaseTag = "20231102.1";
public const string PythonRuntimeBaseTag = "20231205.1";
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.18";
public const string Python39Version = "3.9.18";
public const string Python310Version = "3.10.13";
public const string Python311Version = "3.11.6";
public const string Python311Version = "3.11.7";
public const string Python312Version = "3.12.0";
public static readonly List<string> RuntimeVersions = new List<string> { "3.7-debian-bullseye", "3.7-debian-buster", "3.8-debian-bullseye", "3.8-debian-buster", "3.9-debian-bullseye", "3.9-debian-buster", "3.10-debian-bullseye", "3.10-debian-buster", "3.11-debian-bullseye", "3.12-debian-bullseye", "dynamic-debian-buster" };
}
Expand Down

0 comments on commit 5faefeb

Please sign in to comment.