Skip to content

Commit

Permalink
FIX solve truststore 0.8 conflict with python 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dantegd committed Oct 16, 2023
1 parent ea0d54e commit 86bb25f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions raft-ann-bench/cpu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ COPY condarc /opt/conda/.condarc
RUN mkdir /data && chmod 777 /data \
&& echo "export CONDA_PREFIX=/opt/conda" >> /etc/bash.bashrc

# temporarily downgrade conda from 23.9.0 due to https://github.com/mamba-org/mamba/issues/2882
# after the mamba update step
RUN mamba update --all -y -n base \
# Install python before updating environment, otherwise Python 3.9 image
# runs into a solver conflict with truststore 0.8.0. This avoids the environment installing
# packages incompatible with python version needed before python itself is pinned to the correct version.
RUN mamba install -y -n base "python=${PYTHON_VER}" \
&& mamba update --all -y -n base \
&& mamba install -y -n base \
"raft-ann-bench-cpu=${RAPIDS_VER}.*" \
"python=${PYTHON_VER}" \
Expand Down

0 comments on commit 86bb25f

Please sign in to comment.