Update python cryptography version to 41.0.4 (#18056)

### Description

Version 41.0.0 currently used has vulnerabilities.

### Motivation and Context

See [Vulnerable OpenSSL included in cryptography
wheels](https://github.com/advisories/GHSA-v8gr-m533-ghj9)
This commit is contained in:
Xavier Dupré 2023-10-27 12:06:38 +02:00 committed by GitHub
parent 9c32310673
commit c10b83eb68
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -66,7 +66,7 @@ RUN wget --quiet https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86
rm ~/miniconda.sh && conda clean -ya
# Conda base patch
RUN pip install cryptography==41.0.0
RUN pip install cryptography==41.0.4
# Create migraphx-ci environment
ENV CONDA_ENVIRONMENT_PATH /opt/miniconda/envs/migraphx-ci

View file

@ -68,7 +68,7 @@ RUN conda create -y -n ${CONDA_DEFAULT_ENV} python=3.9
ENV PATH ${CONDA_ENVIRONMENT_PATH}/bin:${PATH}
# Conda base patch
RUN pip install cryptography==41.0.0
RUN pip install cryptography==41.0.4
# Enable rocm-ci environment
SHELL ["conda", "run", "-n", "rocm-ci", "/bin/bash", "-c"]