File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -60,6 +60,10 @@ RUN python3 -m pip install --upgrade joblib
6060# 'cookiecutter' is installed by the base image (continuumio/anaconda3) which does not have the patch.
6161RUN python3 -m pip install --upgrade cookiecutter
6262
63+ # Temporary: Upgrade 'cryptography' due to https://github.com/advisories/GHSA-39hc-v87j-747x
64+ # 'cryptography' is installed by the base image (continuumio/anaconda3) which does not have the patch.
65+ RUN python3 -m pip install --upgrade cryptography
66+
6367# Copy environment.yml (if found) to a temp locaition so we update the environment. Also
6468# copy "noop.txt" so the COPY instruction does not fail if no environment.yml exists.
6569# COPY environment.yml* .devcontainer/noop.txt /tmp/conda-tmp/
Original file line number Diff line number Diff line change 2525 },
2626 "pip" : [
2727 " joblib" ,
28- " cookiecutter"
28+ " cookiecutter" ,
29+ " cryptography"
2930 ],
3031 "other" : {
3132 "conda" : {
Original file line number Diff line number Diff line change @@ -29,5 +29,9 @@ cookiecutter_version=$(python -c "import cookiecutter; print(cookiecutter.__vers
2929check " cookiecutter" bash -c " echo ${cookiecutter} "
3030check-version-ge " cookiecutter-requirement" " ${cookiecutter_version} " " 2.1.1"
3131
32+ cryptography_version=$( python -c " import cryptography; print(cryptography.__version__)" )
33+ check " cryptography" bash -c " echo ${cryptography} "
34+ check-version-ge " cryptography-requirement" " ${cryptography_version} " " 38.0.3"
35+
3236# Report result
3337reportResults
You can’t perform that action at this time.
0 commit comments