Skip to content

Commit 4c7acf3

Browse files
[python] - add 3.13 - manifest, dockerfile, readme (#1221)
1 parent 58cf475 commit 4c7acf3

File tree

3 files changed

+20
-6
lines changed

3 files changed

+20
-6
lines changed

src/python/.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# [Choice] Python version (use -bookworm or -bullseye variants on local arm64/Apple Silicon): 3, 3.12, 3.11, 3.10, 3.9, 3.8, 3-bookworm, 3.12-bookworm, 3.11-bookworm, 3.10-bookworm, 3.9-bookworm, 3.8-bookworm, 3-bullseye, 3.12-bullseye, 3.11-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3-buster, 3.12-buster, 3.11-buster, 3.10-buster, 3.9-buster, 3.8-buster
1+
# [Choice] Python version (use -bookworm or -bullseye variants on local arm64/Apple Silicon): 3, 3.13, 3.12, 3.11, 3.10, 3.9, 3.8, 3-bookworm, 3.13-bookworm, 3.12-bookworm, 3.11-bookworm, 3.10-bookworm, 3.9-bookworm, 3.8-bookworm, 3-bullseye, 3.13-bullseye, 3.12-bullseye, 3.11-bullseye, 3.10-bullseye, 3.9-bullseye, 3.8-bullseye, 3-buster, 3.12-buster, 3.11-buster, 3.10-buster, 3.9-buster, 3.8-buster
22
ARG VARIANT=3-bookworm
33
FROM python:${VARIANT}
44

src/python/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published image* | mcr.microsoft.com/devcontainers/python |
12-
| *Available image variants* | 3 / 3-bookworm, 3.8 / 3.8-bookworm, 3.9 / 3.9-bookworm, 3.10 / 3.10-bookworm, 3.11-bookworm / 3.11, 3.12-bookworm / 3.12, 3-bullseye, 3.8-bullseye, 3.9-bullseye, 3.10-bullseye, 3.11-bullseye, 12-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/python/tags/list)) |
12+
| *Available image variants* | 3 / 3-bookworm, 3.8 / 3.8-bookworm, 3.9 / 3.9-bookworm, 3.10 / 3.10-bookworm, 3.11-bookworm / 3.11, 3.12-bookworm / 3.12, 3.13-bookworm / 3.13, 3-bullseye, 3.8-bullseye, 3.9-bullseye, 3.10-bullseye, 3.11-bullseye, 3.12-bullseye, 3.13-bullseye ([full list](https://mcr.microsoft.com/v2/devcontainers/python/tags/list)) |
1313
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
1414
| *Container Host OS Support* | Linux, macOS, Windows |
1515
| *Container OS* | Debian |
@@ -29,6 +29,7 @@ You can directly reference [pre-built](https://containers.dev/implementors/refer
2929
- `mcr.microsoft.com/devcontainers/python:3.10` (or `3.10-bookworm`, `3.10-bullseye` to pin to an OS version)
3030
- `mcr.microsoft.com/devcontainers/python:3.11` (or `3.11-bookworm`, `3.11-bullseye` to pin to an OS version)
3131
- `mcr.microsoft.com/devcontainers/python:3.12` (or `3.12-bookworm`, `3.12-bullseye` to pin to an OS version)
32+
- `mcr.microsoft.com/devcontainers/python:3.13` (or `3.13-bookworm`, `3.13-bullseye` to pin to an OS version)
3233

3334
Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
3435

src/python/manifest.json

+17-4
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,27 @@
11
{
22
"version": "1.1.16",
33
"variants": [
4+
"3.13-bookworm",
45
"3.12-bookworm",
56
"3.11-bookworm",
67
"3.10-bookworm",
78
"3.9-bookworm",
89
"3.8-bookworm",
10+
"3.13-bullseye",
911
"3.12-bullseye",
1012
"3.11-bullseye",
1113
"3.10-bullseye",
1214
"3.9-bullseye",
1315
"3.8-bullseye"
1416
],
1517
"build": {
16-
"latest": "3.12-bookworm",
18+
"latest": "3.13-bookworm",
1719
"rootDistro": "debian",
1820
"architectures": {
21+
"3.13-bookworm": [
22+
"linux/amd64",
23+
"linux/arm64"
24+
],
1925
"3.12-bookworm": [
2026
"linux/amd64",
2127
"linux/arm64"
@@ -36,6 +42,10 @@
3642
"linux/amd64",
3743
"linux/arm64"
3844
],
45+
"3.13-bullseye": [
46+
"linux/amd64",
47+
"linux/arm64"
48+
],
3949
"3.12-bullseye": [
4050
"linux/amd64",
4151
"linux/arm64"
@@ -61,12 +71,15 @@
6171
"python:${VERSION}-${VARIANT}"
6272
],
6373
"variantTags": {
64-
"3.12-bookworm": [
65-
"python:${VERSION}-3.12",
74+
"3.13-bookworm": [
75+
"python:${VERSION}-3.13",
6676
"python:${VERSION}-3",
6777
"python:${VERSION}-3-bookworm",
6878
"python:${VERSION}-bookworm"
6979
],
80+
"3.12-bookworm": [
81+
"python:${VERSION}-3.12"
82+
],
7083
"3.11-bookworm": [
7184
"python:${VERSION}-3.11"
7285
],
@@ -79,7 +92,7 @@
7992
"3.8-bookworm": [
8093
"python:${VERSION}-3.8"
8194
],
82-
"3.12-bullseye": [
95+
"3.13-bullseye": [
8396
"python:${VERSION}-3-bullseye",
8497
"python:${VERSION}-bullseye"
8598
]

0 commit comments

Comments
 (0)