Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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 @@ -3,7 +3,7 @@
# vulnerabilities:
# 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=4.25.8" "requests=2.32.4" "setuptools=78.1.1" "transformers=4.52.1" "urllib3=2.5.0" "Werkzeug=3.0.6" "jupyter-lsp=2.2.2" "scrapy=2.11.2" \
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")

# Define the number of rows (based on the length of 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=("jupyter_core" "cryptography" )
pin_to_required_version=("jupyter_core" "cryptography" "protobuf" "transformers" )
# Function to check if a package is in the pin_to_required_version array
function is_pin_to_required_version() {
local pkg="$1"
Expand Down
4 changes: 2 additions & 2 deletions src/anaconda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Refer to [this guide](https://containers.dev/guide/dockerfile) for more details.
You can decide how often you want updates by referencing a [semantic version](https://semver.org/) of each image. For example:

- `mcr.microsoft.com/devcontainers/anaconda:1-3`
- `mcr.microsoft.com/devcontainers/anaconda:1.0-3`
- `mcr.microsoft.com/devcontainers/anaconda:1.0.0-3`
- `mcr.microsoft.com/devcontainers/anaconda:1.3-3`
- `mcr.microsoft.com/devcontainers/anaconda:1.3.0-3`

See [history](history) for information on the contents of each version and [here for a complete list of available tags](https://mcr.microsoft.com/v2/devcontainers/anaconda/tags/list).

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.2.9",
"version": "1.3.0",
"build": {
"latest": true,
"rootDistro": "debian",
Expand Down
4 changes: 2 additions & 2 deletions src/anaconda/test-project/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ checkPythonPackageVersion "certifi" "2022.12.07"
checkPythonPackageVersion "cryptography" "44.0.1"
checkPythonPackageVersion "h11" "0.16.0"
checkPythonPackageVersion "jupyter_core" "5.8.1"
checkPythonPackageVersion "protobuf" "4.25.8"
checkPythonPackageVersion "transformers" "4.52.1"
checkPythonPackageVersion "protobuf" "5.29.5"
checkPythonPackageVersion "transformers" "4.53.0"
checkPythonPackageVersion "mpmath" "1.3.0"
checkPythonPackageVersion "aiohttp" "3.10.2"
checkPythonPackageVersion "tornado" "6.4.2"
Expand Down