aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer/devcontainer.json
diff options
context:
space:
mode:
authoryp05327 <576951401@qq.com>2024-03-09 00:10:01 +0900
committerGitHub <noreply@github.com>2024-03-08 16:10:01 +0100
commitb253463e959c44cbd212fe1d662f2520ebfe38e6 (patch)
treed5bbe8725be57efcc389a67f4486e64ec5930012 /.devcontainer/devcontainer.json
parent930bae2300be1c62a56d6f019e519b6752d41ad1 (diff)
downloadgitea-b253463e959c44cbd212fe1d662f2520ebfe38e6.tar.gz
gitea-b253463e959c44cbd212fe1d662f2520ebfe38e6.zip
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 <me@silverwind.io>
Diffstat (limited to '.devcontainer/devcontainer.json')
-rw-r--r--.devcontainer/devcontainer.json4
1 files changed, 3 insertions, 1 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 1051b0f2a2..a4a6ce8fcf 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": {