Skip to content

Commit 36bca1a

Browse files
authored
Pin aiida-hyperqueue to 0.2.1 in Dockerfile (#1349)
`aiida-hyperqueue` 0.3.0 is released, but it needs aiida-core >=2.7, so we pin it to 0.2.1 in the current Dockerfile. Because the current image uses aiida-core 2.6.3
1 parent 1501425 commit 36bca1a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ ARG HQ_URL_AMD64="https://github.com/It4innovations/hyperqueue/releases/download
2424
ARG HQ_URL_ARM64="https://github.com/It4innovations/hyperqueue/releases/download/v${HQ_VER}/hq-v${HQ_VER}-linux-arm64-linux.tar.gz"
2525
ARG VIBROSCOPY_PKG="aiidalab-qe-vibroscopy@git+https://github.com/mikibonacci/aiidalab-qe-vibroscopy@v1.2.0"
2626
ARG MUON_PKG="aiidalab-qe-muon@git+https://github.com/mikibonacci/aiidalab-qe-muon@v1.0.0"
27-
ARG AIIDA_HQ_PKG="aiida-hyperqueue@git+https://github.com/aiidateam/aiida-hyperqueue"
27+
# aiida-hyperqueue 0.3.0 need aiida-core >=2.7, so we pin it to 0.2.1
28+
ARG AIIDA_HQ_PKG="aiida-hyperqueue==0.2.1"
2829

2930
###############################################################################
3031
# 2) uv stage (unchanged)
@@ -110,7 +111,6 @@ RUN mkdir -p ${PSEUDO_FOLDER} && \
110111

111112
ENV UV_CONSTRAINT=${PIP_CONSTRAINT}
112113
# Install the aiida-hyperqueue
113-
# XXX: fix me after release aiida-hyperqueue
114114
RUN --mount=from=uv,source=/uv,target=/bin/uv \
115115
--mount=from=build_deps,source=${UV_CACHE_DIR},target=${UV_CACHE_DIR},rw \
116116
uv pip install --system --strict --cache-dir=${UV_CACHE_DIR} ${AIIDA_HQ_PKG}
@@ -170,7 +170,6 @@ WORKDIR /tmp
170170
# Install python dependencies
171171
# Use uv cache from the previous build step
172172
# # Install the aiida-hyperqueue
173-
# # XXX: fix me after release aiida-hyperqueue
174173
ENV UV_CONSTRAINT=${PIP_CONSTRAINT}
175174
RUN --mount=from=uv,source=/uv,target=/bin/uv \
176175
--mount=from=build_deps,source=${UV_CACHE_DIR},target=${UV_CACHE_DIR},rw \

0 commit comments

Comments
 (0)