Skip to content

Commit 5498638

Browse files
Fix Anaconda devcontainer build failure by pinning imagecodecs version for Python 3.11 compatibility (#1694)
* [anaconda]-GHSA-vvfj-2jqx-52jm: jupyterlab and GHSA-94vc-p8w7-5p49: imagecodecs - security vulnerability * protobuf pin to required version * Update pin_to_required_version array to include imagecodecs * Update pin_to_required_version array to include jupyter_core and cryptography * Unpin jupyter_core and cryptography – no longer needed in pin_to_required_version.
1 parent 5babcf5 commit 5498638

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/anaconda/.devcontainer/apply_security_patches.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ done
2626

2727
# Add an array for packages that should always pin to the provided version,
2828
# even if higher version is available in conda channel
29-
pin_to_required_version=("jupyter_core" "cryptography" "protobuf" "transformers")
29+
pin_to_required_version=("protobuf" "transformers" "imagecodecs")
30+
3031
# Function to check if a package is in the pin_to_required_version array
3132
function is_pin_to_required_version() {
3233
local pkg="$1"

0 commit comments

Comments
 (0)