From e5a4caae29c0a1cd4851f4a0a303d334396fe050 Mon Sep 17 00:00:00 2001 From: Jean Lecordier <47030586+jlecordier@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:25:53 +0200 Subject: [PATCH 1/2] devcontainer-template.json: add new versions --- .../devcontainer-template.json | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/python3-poetry-pyenv/devcontainer-template.json b/src/python3-poetry-pyenv/devcontainer-template.json index 675cd2b..9534854 100644 --- a/src/python3-poetry-pyenv/devcontainer-template.json +++ b/src/python3-poetry-pyenv/devcontainer-template.json @@ -6,11 +6,13 @@ "documentationURL": "https://github.com/Standard-IO/devcontainers/tree/main/src/python3-poetry-pyenv", "licenseURL": "https://github.com/Standard-IO/devcontainers/blob/main/LICENSE", "options": { - "pythonVersion":{ - "type":"string", + "pythonVersion": { + "type": "string", "description": "Python version to install with Pyenv", "proposals": [ "3", + "3.13", + "3.12", "3.11", "3.10", "3.9", @@ -18,20 +20,22 @@ "3.7", "3.6" ], - "default": "3.10" + "default": "3.12" }, - "imageVariant":{ - "type":"string", + "imageVariant": { + "type": "string", "description": "Select the os to install", - "proposals":[ + "proposals": [ "debian", + "bookworm", "bullseye", "buster", + "noble", "jammy", "focal", "bionic" ], - "default": "jammy" + "default": "noble" } }, "platforms": [ From 572e08242ecef43dfaf2474d628e571c90f32c3c Mon Sep 17 00:00:00 2001 From: Jean Lecordier <47030586+jlecordier@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:33:15 +0200 Subject: [PATCH 2/2] README.md: add new defaults --- src/python3-poetry-pyenv/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python3-poetry-pyenv/README.md b/src/python3-poetry-pyenv/README.md index f78d6b1..426cdee 100644 --- a/src/python3-poetry-pyenv/README.md +++ b/src/python3-poetry-pyenv/README.md @@ -7,8 +7,8 @@ devcontainer with pyenv as main source to get python version and poetry to manag | Options Id | Description | Type | Default Value | |-----|-----|-----|-----| -| pythonVersion | Python version to install with Pyenv | string | 3.10 | -| imageVariant | Select the os to install | string | jammy | +| pythonVersion | Python version to install with Pyenv | string | 3.12 | +| imageVariant | Select the os to install | string | noble | This template install packages under the "`vscode`" user. The packages installed are `Pyenv` and `Poetry` through its official installators. Note that the installation of Python is made through `pyenv install ` command and `poetry` is configured to create the virtual environment in the root project directory. The former to avoid to have a global installation of python and the latter is done in this way because the vscode python extension look first in the project root to look for the python environment to use.