Skip to content

Commit

Permalink
bump pip to latest v23.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Oct 23, 2023
1 parent 2518fc0 commit 5ff2408
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stack/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ ARG AIIDA_VERSION
# Pin shared requirements in the base environemnt.
# The lower bound of aiida-core is set to the version of aiida-core to prevent
# lower aiida-core DB version installed and trigger database downgrade.
RUN echo "pip==23.0.1" > /opt/requirements.txt && \
RUN echo "pip==23.3.1" > /opt/requirements.txt && \
echo "aiida-core>=${AIIDA_VERSION},<3" >> /opt/requirements.txt

# Pin shared requirements in the base environemnt.
RUN cat /opt/requirements.txt | xargs -I{} conda config --system --add pinned_packages {}

# Install the shared requirements.
RUN mamba install --yes \
aiida-core=${AIIDA_VERSION} \
Expand All @@ -34,6 +31,9 @@ RUN mamba install --yes \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"

# Pin shared requirements in the base environemnt.
RUN cat /opt/requirements.txt | xargs -I{} conda config --system --add pinned_packages {}

# Configure pip to use requirements file as constraints file.
ENV PIP_CONSTRAINT=/opt/requirements.txt

Expand Down

0 comments on commit 5ff2408

Please sign in to comment.