Skip to content

Commit

Permalink
Fix pip check test (#489)
Browse files Browse the repository at this point in the history
* Unpin softprops/action-gh-release
* Update packages to satisfy pip check
  • Loading branch information
danielhollas authored Aug 7, 2024
1 parent bf146df commit 9cab122
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
needs: [publish-dockerhub]

steps:
- uses: softprops/action-gh-release@v2.0.6
- uses: softprops/action-gh-release@v2
name: Create release
with:
generate_release_notes: true
7 changes: 4 additions & 3 deletions stack/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,15 @@ ENV PIP_CONSTRAINT /opt/requirements.txt
COPY pip.conf /etc/pip.conf

# Upgrade pip and mamba to latest
# Update async_generator, certipy to satisfy `pip check`
# https://github.com/aiidalab/aiidalab-docker-stack/issues/490
# Install aiida-core and other shared requirements.
RUN mamba update -y pip && \
RUN mamba update -y pip async_generator certipy && \
mamba install --yes \
aiida-core==${AIIDA_VERSION} \
mamba-bash-completion \
&& mamba clean --all -f -y && \
fix-permissions "${CONDA_DIR}" && \
fix-permissions "/home/${NB_USER}"
fix-permissions "${CONDA_DIR}"

# Enable verdi autocompletion.
RUN mkdir -p "${CONDA_DIR}/etc/conda/activate.d" && \
Expand Down

0 comments on commit 9cab122

Please sign in to comment.