From 9d2eeacfdb07c229e225acc6ca3f87be67d65e9e Mon Sep 17 00:00:00 2001 From: Kaniska244 Date: Tue, 26 Nov 2024 21:55:44 +0530 Subject: [PATCH 1/4] Update Dockerfile EOL Python 3.8 --- src/python/.devcontainer/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/.devcontainer/Dockerfile b/src/python/.devcontainer/Dockerfile index 80fb0a91a..1daee37a5 100644 --- a/src/python/.devcontainer/Dockerfile +++ b/src/python/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -# [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 +# [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-bookworm, 3.13-bookworm, 3.12-bookworm, 3.11-bookworm, 3.10-bookworm, 3.9-bookworm, 3-bullseye, 3.13-bullseye, 3.12-bullseye, 3.11-bullseye, 3.10-bullseye, 3.9-bullseye, 3-buster, 3.12-buster, 3.11-buster, 3.10-buster, 3.9-buster ARG VARIANT=3-bookworm FROM python:${VARIANT} From a5ac7afe2da4923c2f13f90de357247057e302e6 Mon Sep 17 00:00:00 2001 From: Kaniska244 Date: Tue, 26 Nov 2024 21:58:53 +0530 Subject: [PATCH 2/4] Update manifest.json EOL Python 3.8 --- src/python/manifest.json | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/src/python/manifest.json b/src/python/manifest.json index 3dac0ee70..a853c13ef 100644 --- a/src/python/manifest.json +++ b/src/python/manifest.json @@ -6,13 +6,11 @@ "3.11-bookworm", "3.10-bookworm", "3.9-bookworm", - "3.8-bookworm", "3.13-bullseye", "3.12-bullseye", "3.11-bullseye", "3.10-bullseye", - "3.9-bullseye", - "3.8-bullseye" + "3.9-bullseye" ], "build": { "latest": "3.13-bookworm", @@ -38,10 +36,6 @@ "linux/amd64", "linux/arm64" ], - "3.8-bookworm": [ - "linux/amd64", - "linux/arm64" - ], "3.13-bullseye": [ "linux/amd64", "linux/arm64" @@ -61,10 +55,6 @@ "3.9-bullseye": [ "linux/amd64", "linux/arm64" - ], - "3.8-bullseye": [ - "linux/amd64", - "linux/arm64" ] }, "tags": [ @@ -89,9 +79,6 @@ "3.9-bookworm": [ "python:${VERSION}-3.9" ], - "3.8-bookworm": [ - "python:${VERSION}-3.8" - ], "3.13-bullseye": [ "python:${VERSION}-3-bullseye", "python:${VERSION}-bullseye" @@ -137,4 +124,4 @@ "git": {} } } -} \ No newline at end of file +} From 134dfac938625b985f796dc713199c65acdfe87a Mon Sep 17 00:00:00 2001 From: Kaniska244 Date: Tue, 26 Nov 2024 22:01:06 +0530 Subject: [PATCH 3/4] Update README.md EOLPython 3.8 --- src/python/README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/python/README.md b/src/python/README.md index 51c254c77..4f916efb0 100644 --- a/src/python/README.md +++ b/src/python/README.md @@ -9,7 +9,7 @@ | *Categories* | Core, Languages | | *Image type* | Dockerfile | | *Published image* | mcr.microsoft.com/devcontainers/python | -| *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)) | +| *Available image variants* | 3 / 3-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.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)) | | *Published image architecture(s)* | x86-64, arm64/aarch64 for `bookworm`, and `bullseye` variants | | *Container Host OS Support* | Linux, macOS, Windows | | *Container OS* | Debian | @@ -24,7 +24,6 @@ See **[history](history)** for information on the contents of published images. 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: - `mcr.microsoft.com/devcontainers/python:3` (latest) -- `mcr.microsoft.com/devcontainers/python:3.8` (or `3.8-bookworm`, `3.8-bullseye` to pin to an OS version) - `mcr.microsoft.com/devcontainers/python:3.9` (or `3.9-bookworm`, `3.9-bullseye` to pin to an OS version) - `mcr.microsoft.com/devcontainers/python:3.10` (or `3.10-bookworm`, `3.10-bullseye` to pin to an OS version) - `mcr.microsoft.com/devcontainers/python:3.11` (or `3.11-bookworm`, `3.11-bullseye` to pin to an OS version) From 84e571b7a35862a2e9ede3fc2294230d87d96c1a Mon Sep 17 00:00:00 2001 From: Kaniska Date: Wed, 18 Dec 2024 17:38:09 +0530 Subject: [PATCH 4/4] Update README.md to remove Python 3.8 reference --- src/python/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python/README.md b/src/python/README.md index 4f916efb0..db300cd98 100644 --- a/src/python/README.md +++ b/src/python/README.md @@ -130,7 +130,7 @@ If you would prefer to have multiple Python versions in your container, use `Doc ```Dockerfile FROM ubuntu:jammy -ARG PYTHON_PACKAGES="python3.8 python3.9 python3 python3-pip python3-venv" +ARG PYTHON_PACKAGES="python3.13 python3.12 python3 python3-pip python3-venv" RUN apt-get update && apt-get install --no-install-recommends -yq software-properties-common \ && add-apt-repository ppa:deadsnakes/ppa && apt-get update \ && apt-get install -yq --no-install-recommends ${PYTHON_PACKAGES} \