From 18e0647c847afb24819b70edc055fc9371db75ed Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Sat, 9 Mar 2024 00:10:01 +0900 Subject: [PATCH] bump python version to 3.12 in dev container (#29670) ![image](https://github.com/go-gitea/gitea/assets/18380374/963dc021-ac9b-4713-8344-654f966c80a4) The default version is 3.9.2, which is not supported by poetry. --------- Co-authored-by: silverwind (cherry picked from commit b253463e959c44cbd212fe1d662f2520ebfe38e6) --- .devcontainer/devcontainer.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 9e290fb6a..8563aafd0 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -8,7 +8,9 @@ }, "ghcr.io/devcontainers/features/git-lfs:1.1.0": {}, "ghcr.io/devcontainers-contrib/features/poetry:2": {}, - "ghcr.io/devcontainers/features/python:1": {} + "ghcr.io/devcontainers/features/python:1": { + "version": "3.12" + } }, "customizations": { "vscode": {