aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdmundo Gonzalez <51725820+edgonmsft@users.noreply.github.com>2022-10-26 02:07:05 +0300
committerGitHub <noreply@github.com>2022-10-26 02:07:05 +0300
commit520a4abc40c1fe4c914638ea73b42f2bde09d8e9 (patch)
treede5ec171d0b00886d1663ef37b723dfc8029bd87
parentfd31e97db06882a47819a47842b8e2d83b372ea6 (diff)
Python version 3.11 (#237)
* Adding 3.11 option * Updating tests.
-rw-r--r--src/python/devcontainer-feature.json1
-rw-r--r--test/python/install_additional_python.sh5
-rw-r--r--test/python/scenarios.json4
3 files changed, 6 insertions, 4 deletions
diff --git a/src/python/devcontainer-feature.json b/src/python/devcontainer-feature.json
index e75808a..f2d116e 100644
--- a/src/python/devcontainer-feature.json
+++ b/src/python/devcontainer-feature.json
@@ -11,6 +11,7 @@
"latest",
"os-provided",
"none",
+ "3.11",
"3.10",
"3.9",
"3.8",
diff --git a/test/python/install_additional_python.sh b/test/python/install_additional_python.sh
index b0393d3..00e43d8 100644
--- a/test/python/install_additional_python.sh
+++ b/test/python/install_additional_python.sh
@@ -5,8 +5,9 @@ set -e
# Optional: Import test library
source dev-container-features-test-lib
-check "python version 3.10.5 installed as default" python --version | grep 3.10.5
-check "python3 version 3.10.5 installed as default" python3 --version | grep 3.10.5
+check "python version 3.11 installed as default" python --version | grep 3.11
+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.9.13 installed" ls -l /usr/local/python | grep 3.9.13
diff --git a/test/python/scenarios.json b/test/python/scenarios.json
index 9df8d72..80e0fb5 100644
--- a/test/python/scenarios.json
+++ b/test/python/scenarios.json
@@ -3,8 +3,8 @@
"image": "ubuntu:focal",
"features": {
"python": {
- "version": "3.10.5",
- "additionalVersions": "3.8,3.9.13"
+ "version": "3.11",
+ "additionalVersions": "3.8,3.9.13,3.10.5"
}
}
},