Skip to content

Commit 0efd8bb

Browse files
committed
patched to found conda version >= required version
1 parent 558ea1a commit 0efd8bb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/anaconda/.devcontainer/apply_security_patches.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
vulnerable_packages=( "pydantic=2.5.3" "joblib=1.3.1" "mistune=3.0.1" "werkzeug=3.0.3" "transformers=4.36.0" "pillow=10.3.0" "aiohttp=3.9.4" \
4-
"cryptography=42.0.4" "gitpython=3.1.41" "jupyter-lsp=2.2.2" "idna=3.7" "jinja2=3.1.4" "scrapy=2.11.2" )
4+
"cryptography=42.0.4" "gitpython=3.1.41" "jupyter-lsp=2.2.2" "idna=3.7" "jinja2=3.1.4" "scrapy=2.11.2" "black=24.4.2")
55

66
# Define the number of rows (based on the length of vulnerable_packages)
77
rows=${#vulnerable_packages[@]}

src/anaconda/test-project/test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ checkCondaPackageVersion "mpmath" "1.3.0"
6262
checkCondaPackageVersion "urllib3" "1.26.17"
6363
checkCondaPackageVersion "pyarrow" "14.0.1"
6464
checkCondaPackageVersion "pydantic" "2.5.3"
65+
checkCondaPackageVersion "black" "24.4.2"
6566

6667
check "conda-update-conda" bash -c "conda update -y conda"
6768
check "conda-install-tensorflow" bash -c "conda create --name test-env -c conda-forge --yes tensorflow"

0 commit comments

Comments
 (0)