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. 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": [