File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,9 @@ RUN if [ -f "/tmp/conda-tmp/environment.yml" ]; then umask 0002 && /opt/conda/bi
4444RUN conda install \
4545 # https://github.com/pyca/cryptography/security/advisories/GHSA-5cpq-8wj7-hf2v
4646 pyopenssl=23.2.0 \
47- cryptography=41.0.2
47+ cryptography=41.0.2 \
48+ # https://github.com/advisories/GHSA-j8r2-6x86-q33q
49+ requests=2.31.0
4850
4951# [Optional] Uncomment this section to install additional OS packages.
5052# RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
Original file line number Diff line number Diff line change @@ -177,6 +177,6 @@ checkCondaPackageVersion()
177177{
178178 PACKAGE=$1
179179 REQUIRED_VERSION=$2
180- current_version=$( conda list " ${PACKAGE} " | grep -w " ${PACKAGE} " | awk ' {print $2}' )
180+ current_version=$( conda list " ${PACKAGE} " | grep -E " ^ ${PACKAGE} \s " | awk ' {print $2}' )
181181 check-version-ge " conda-${PACKAGE} -requirement" " ${current_version} " " ${REQUIRED_VERSION} "
182182}
Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ checkCondaPackageVersion "cryptography" "41.0.0"
2626checkCondaPackageVersion " pyopenssl" " 23.2.0"
2727checkCondaPackageVersion " setuptools" " 65.5.1"
2828checkCondaPackageVersion " wheel" " 0.38.1"
29+ checkCondaPackageVersion " requests" " 2.31.0"
2930
3031check " conda-update-conda" bash -c " conda update -y conda"
3132check " conda-install-tensorflow" bash -c " conda install -c conda-forge --yes tensorflow"
You can’t perform that action at this time.
0 commit comments