Skip to content

Commit afd3c11

Browse files
EOL changes to python 3.9 (#1568)
* EOL changes to python 3.9 * changes in manifest file * EOL changes to python 3.9 * EOL changes to python 3.9 * EOL changes to python 3.9 * modification for architecture and variants * Remove deprecated Python versions from manifest * Update available image variants in README * Remove empty line in manifest.json Removed an empty line in the manifest file. --------- Co-authored-by: Sam Byng <sam-byng@github.com>
1 parent 1831153 commit afd3c11

File tree

2 files changed

+13
-55
lines changed

2 files changed

+13
-55
lines changed

src/python/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
| *Categories* | Core, Languages |
1010
| *Image type* | Dockerfile |
1111
| *Published image* | mcr.microsoft.com/devcontainers/python |
12-
| *Available image variants* | 3 / 3-trixie, 3.9 / 3.9-trixie, 3.10 / 3.10-trixie, 3.11-trixie / 3.11, 3.12-trixie / 3.12, 3.13-trixie / 3.13, 3.14, 3.14-trixie, 3-bookworm, 3.9-bookworm, 3.10-bookworm, 3.11-bookworm, 3.12-bookworm, 3.13-bookworm, 3.14-bookworm, 3-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)) |
12+
| *Available image variants* | 3 / 3-trixie, 3.9 / 3.9-trixie, 3.10 / 3.10-trixie, 3.11-trixie / 3.11, 3.12-trixie / 3.12, 3.13-trixie / 3.13, 3.14-trixie / 3.14, 3-bookworm, 3.10-bookworm, 3.11-bookworm, 3.12-bookworm, 3.13-bookworm, 3.14-bookworm ([full list](https://mcr.microsoft.com/v2/devcontainers/python/tags/list)) |
13+
1314
| *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants |
1415
| *Container Host OS Support* | Linux, macOS, Windows |
1516
| *Container OS* | Debian |
@@ -24,20 +25,19 @@ See **[history](history)** for information on the contents of published images.
2425
You can directly reference [pre-built](https://containers.dev/implementors/reference/#prebuilding) versions of this image by using the `image` property in `.devcontainer/devcontainer.json` or updating the `FROM` statement in your own `Dockerfile` with one of the following:
2526

2627
- `mcr.microsoft.com/devcontainers/python:3` (latest)
27-
- `mcr.microsoft.com/devcontainers/python:3.9` (or `3.9-trixie`, `3.9-bookworm`, `3.9-bullseye` to pin to an OS version)
28-
- `mcr.microsoft.com/devcontainers/python:3.10` (or `3.10-trixie`, `3.10-bookworm`, `3.10-bullseye` to pin to an OS version)
29-
- `mcr.microsoft.com/devcontainers/python:3.11` (or `3.11-trixie`, `3.11-bookworm`, `3.11-bullseye` to pin to an OS version)
30-
- `mcr.microsoft.com/devcontainers/python:3.12` (or `3.12-trixie`, `3.12-bookworm`, `3.12-bullseye` to pin to an OS version)
31-
- `mcr.microsoft.com/devcontainers/python:3.13` (or `3.13-trixie`, `3.13-bookworm`, `3.13-bullseye` to pin to an OS version)
28+
- `mcr.microsoft.com/devcontainers/python:3.10` (or `3.10-trixie`, `3.10-bookworm` to pin to an OS version)
29+
- `mcr.microsoft.com/devcontainers/python:3.11` (or `3.11-trixie`, `3.11-bookworm` to pin to an OS version)
30+
- `mcr.microsoft.com/devcontainers/python:3.12` (or `3.12-trixie`, `3.12-bookworm` to pin to an OS version)
31+
- `mcr.microsoft.com/devcontainers/python:3.13` (or `3.13-trixie`, `3.13-bookworm` to pin to an OS version)
3232
- `mcr.microsoft.com/devcontainers/python:3.14` (or `3.14-trixie`, `3.14-bookworm` to pin to an OS version)
3333

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

3636
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:
3737

38-
- `mcr.microsoft.com/devcontainers/python:2-3.13` (or `2-3.13-bullseye`)
39-
- `mcr.microsoft.com/devcontainers/python:2.0-3.13` (or `2.0-3.13-bullseye`)
40-
- `mcr.microsoft.com/devcontainers/python:2.0.1-3.13` (or `2.0.1-3.13-bullseye`)
38+
- `mcr.microsoft.com/devcontainers/python:3-3.13` (or `3-3.14-trixie`)
39+
- `mcr.microsoft.com/devcontainers/python:3.0-3.13` (or `3.0-3.13-trixie`)
40+
- `mcr.microsoft.com/devcontainers/python:3.0.0-3.13` (or `3.0.0-3.13-trixie`)
4141

4242
However, we only do security patching on the latest [non-breaking, in support](https://github.com/devcontainers/images/issues/90) versions of images (e.g. `2-3`).
4343
You may want to run `apt-get update && apt-get upgrade` in your Dockerfile if you lock to a more specific version to at least pick up OS security updates.

src/python/manifest.json

Lines changed: 4 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
{
2-
"version": "2.1.2",
2+
"version": "3.0.0",
33
"variants": [
44
"3.14-trixie",
55
"3.13-trixie",
66
"3.12-trixie",
77
"3.11-trixie",
88
"3.10-trixie",
9-
"3.9-trixie",
109
"3.14-bookworm",
1110
"3.13-bookworm",
1211
"3.12-bookworm",
1312
"3.11-bookworm",
14-
"3.10-bookworm",
15-
"3.9-bookworm",
16-
"3.13-bullseye",
17-
"3.12-bullseye",
18-
"3.11-bullseye",
19-
"3.10-bullseye",
20-
"3.9-bullseye"
13+
"3.10-bookworm"
2114
],
2215
"build": {
2316
"latest": "3.14-trixie",
@@ -42,11 +35,7 @@
4235
"3.10-trixie": [
4336
"linux/amd64",
4437
"linux/arm64"
45-
],
46-
"3.9-trixie": [
47-
"linux/amd64",
48-
"linux/arm64"
49-
],
38+
],
5039
"3.14-bookworm": [
5140
"linux/amd64",
5241
"linux/arm64"
@@ -66,30 +55,6 @@
6655
"3.10-bookworm": [
6756
"linux/amd64",
6857
"linux/arm64"
69-
],
70-
"3.9-bookworm": [
71-
"linux/amd64",
72-
"linux/arm64"
73-
],
74-
"3.13-bullseye": [
75-
"linux/amd64",
76-
"linux/arm64"
77-
],
78-
"3.12-bullseye": [
79-
"linux/amd64",
80-
"linux/arm64"
81-
],
82-
"3.11-bullseye": [
83-
"linux/amd64",
84-
"linux/arm64"
85-
],
86-
"3.10-bullseye": [
87-
"linux/amd64",
88-
"linux/arm64"
89-
],
90-
"3.9-bullseye": [
91-
"linux/amd64",
92-
"linux/arm64"
9358
]
9459
},
9560
"tags": [
@@ -113,17 +78,10 @@
11378
],
11479
"3.10-trixie": [
11580
"python:${VERSION}-3.10"
116-
],
117-
"3.9-trixie": [
118-
"python:${VERSION}-3.9"
119-
],
81+
],
12082
"3.14-bookworm": [
12183
"python:${VERSION}-3-bookworm",
12284
"python:${VERSION}-bookworm"
123-
],
124-
"3.13-bullseye": [
125-
"python:${VERSION}-3-bullseye",
126-
"python:${VERSION}-bullseye"
12785
]
12886
}
12987
},

0 commit comments

Comments
 (0)