Skip to content

Commit bf32303

Browse files
[universal] - check toolings - monthly task (#1108)
* [universal] - check toolings - monthly task * remove patches applied for 3.9 and 3.10 * changes for review comments.. update python version for oryx compat. * remove setuptools check in python 3.9 * Update src/universal/.devcontainer/devcontainer.json Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com> --------- Co-authored-by: Samruddhi Khandale <samruddhikhandale@github.com>
1 parent 6a4787a commit bf32303

File tree

3 files changed

+4
-17
lines changed

3 files changed

+4
-17
lines changed

src/universal/.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
},
2424
"./local-features/nvs": "latest",
2525
"ghcr.io/devcontainers/features/python:1": {
26-
"version": "3.10.13",
27-
"additionalVersions": "3.9.18",
26+
"version": "3.12.1",
27+
"additionalVersions": "3.11.9",
2828
"installJupyterlab": "true",
2929
"configureJupyterlabAllowOrigin": "*",
3030
"useOryxIfAvailable": "false"
@@ -39,8 +39,8 @@
3939
"version": "latest"
4040
},
4141
"ghcr.io/devcontainers/features/ruby:1": {
42-
"version": "3.2",
43-
"additionalVersions": "3.1"
42+
"version": "3.3.4",
43+
"additionalVersions": "3.3.2"
4444
},
4545
"ghcr.io/devcontainers/features/java:1": {
4646
"version": "21",

src/universal/.devcontainer/local-features/patch-python/install.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,3 @@ update_package() {
3838
sudo_if "$PYTHON_PATH -m pip install --upgrade --no-cache-dir $PACKAGE==$VERSION"
3939
sudo_if "$PYTHON_PATH -m pip show --no-python-version-warning $PACKAGE"
4040
}
41-
42-
# Temporary: Upgrade python packages due to security vulnerabilities
43-
# They are installed by the base image (python) which does not have the patch.
44-
45-
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-40897
46-
update_package /usr/local/python/3.9.*/bin/python setuptools 65.5.1
47-
update_package /usr/local/python/3.10.*/bin/python setuptools 68.2.2
48-
49-
# https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45803
50-
update_package /usr/local/python/3.10.*/bin/python urllib3 2.0.7

src/universal/test-project/test.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,6 @@ checkPythonPackageVersion "python" "setuptools" "65.5.1"
190190
checkPythonPackageVersion "python" "requests" "2.31.0"
191191
checkPythonPackageVersion "python" "urllib3" "2.0.7"
192192

193-
## Python 3.9
194-
checkPythonPackageVersion "/usr/local/python/3.9.*/bin/python" "setuptools" "65.5.1"
195-
196193
## Conda Python
197194
checkCondaPackageVersion "requests" "2.31.0"
198195
checkCondaPackageVersion "cryptography" "41.0.4"

0 commit comments

Comments
 (0)