Python version 3.11 (#237)

* Adding 3.11 option

* Updating tests.
This commit is contained in:
Edmundo Gonzalez 2022-10-25 16:07:05 -07:00 committed by GitHub
parent fd31e97db0
commit 520a4abc40
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 4 deletions

View file

@ -11,6 +11,7 @@
"latest", "latest",
"os-provided", "os-provided",
"none", "none",
"3.11",
"3.10", "3.10",
"3.9", "3.9",
"3.8", "3.8",

View file

@ -5,8 +5,9 @@ set -e
# Optional: Import test library # Optional: Import test library
source dev-container-features-test-lib source dev-container-features-test-lib
check "python version 3.10.5 installed as default" python --version | grep 3.10.5 check "python version 3.11 installed as default" python --version | grep 3.11
check "python3 version 3.10.5 installed as default" python3 --version | grep 3.10.5 check "python3 version 3.11 installed as default" python3 --version | grep 3.11
check "python version 3.10.5 installed" ls -l /usr/local/python | grep 3.10.5
check "python version 3.8.13 installed" ls -l /usr/local/python | grep 3.8.13 check "python version 3.8.13 installed" ls -l /usr/local/python | grep 3.8.13
check "python version 3.9.13 installed" ls -l /usr/local/python | grep 3.9.13 check "python version 3.9.13 installed" ls -l /usr/local/python | grep 3.9.13

View file

@ -3,8 +3,8 @@
"image": "ubuntu:focal", "image": "ubuntu:focal",
"features": { "features": {
"python": { "python": {
"version": "3.10.5", "version": "3.11",
"additionalVersions": "3.8,3.9.13" "additionalVersions": "3.8,3.9.13,3.10.5"
} }
} }
}, },