Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/anaconda/.devcontainer/apply_security_patches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# werkzeug - [GHSA-f9vj-2wh5-fj8j]

vulnerable_packages=( "mistune=3.0.1" "aiohttp=3.10.11" "cryptography=44.0.1" "h11=0.16.0" "jinja2=3.1.6" "jupyter_core=5.8.1" "protobuf=5.29.5" "requests=2.32.4" "setuptools=78.1.1" "transformers=4.53.0" "urllib3=2.5.0" "Werkzeug=3.0.6" "jupyter-lsp=2.2.2" "scrapy=2.11.2" \
"zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "imagecodecs=2024.9.22" "fonttools=4.60.2" "pyarrow=17.0.0" "brotli=1.2.0" )
"zipp=3.19.1" "tornado=6.4.2" "jupyterlab=4.4.8" "imagecodecs=2024.9.22" "fonttools=4.60.2" "pyarrow=17.0.0" "brotli=1.2.0" "filelock=3.20.1" "bokeh=3.8.2" )

# Define the number of rows (based on the length of vulnerable_packages)
rows=${#vulnerable_packages[@]}
Expand All @@ -26,7 +26,7 @@ done

# Add an array for packages that should always pin to the provided version,
# even if higher version is available in conda channel
pin_to_required_version=("transformers" "imagecodecs" "brotli")
pin_to_required_version=("transformers" "imagecodecs" "brotli" "protobuf")

# Function to check if a package is in the pin_to_required_version array
function is_pin_to_required_version() {
Expand Down
2 changes: 1 addition & 1 deletion src/anaconda/manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.3.10",
"version": "1.3.11",
"build": {
"latest": true,
"rootDistro": "debian",
Expand Down
4 changes: 3 additions & 1 deletion src/anaconda/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ checkPythonPackageVersion "zipp" "3.19.1"
checkPythonPackageVersion "imagecodecs" "2023.9.18"
checkPythonPackageVersion "brotli" "1.2.0"
checkPythonPackageVersion "fonttools" "4.60.2"
checkPythonPackageVersion "filelock" "3.20.1"
checkPythonPackageVersion "bokeh" "3.8.2"

checkCondaPackageVersion "pyopenssl" "24.2.1"
checkCondaPackageVersion "requests" "2.32.4"
Expand All @@ -72,7 +74,7 @@ checkCondaPackageVersion "pyarrow" "17.0.0"
checkCondaPackageVersion "pydantic" "2.5.3"
checkCondaPackageVersion "tqdm" "4.66.4"
checkCondaPackageVersion "black" "24.4.2"
checkCondaPackageVersion "streamlit" "1.37.0"
checkCondaPackageVersion "streamlit" "1.37.1"
checkCondaPackageVersion "nltk" "3.9"

check "conda-update-conda" bash -c "conda update -y conda"
Expand Down
Loading