Skip to content

Commit e60779c

Browse files
authored
Upgrade our Devcontainer to Python 3.12 on Debian bookworm (#9580)
1 parent da03c14 commit e60779c

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# https://github.com/microsoft/vscode-dev-containers/blob/main/containers/python-3/README.md
2-
ARG VARIANT=3.11-bookworm
2+
ARG VARIANT=3.12-bookworm
33
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
44
COPY requirements.txt /tmp/pip-tmp/
55
RUN python3 -m pip install --upgrade pip \

.devcontainer/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
https://code.visualstudio.com/docs/devcontainers/tutorial

.devcontainer/devcontainer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
"dockerfile": "Dockerfile",
55
"context": "..",
66
"args": {
7-
// Update 'VARIANT' to pick a Python version: 3, 3.10, 3.9, 3.8, 3.7, 3.6
7+
// Update 'VARIANT' to pick a Python version: 3, 3.11, 3.10, 3.9, 3.8
88
// Append -bullseye or -buster to pin to an OS version.
99
// Use -bullseye variants on local on arm64/Apple Silicon.
10-
"VARIANT": "3.11-bookworm",
10+
"VARIANT": "3.12-bookworm",
1111
}
1212
},
1313

0 commit comments

Comments
 (0)