Skip to content

Commit

Permalink
Work around h5py's lack of Linux aarch64 wheels
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsinger committed Apr 10, 2024
1 parent 4cfe122 commit 1754c1c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ wheel/macos/arm64:
cat <<EOF > Dockerfile
FROM python:${CI_JOB_NAME#*python}
RUN apt-get update && apt-get -y install --no-install-recommends libchealpix-dev libgsl-dev pkg-config && rm -rf /var/lib/apt/lists/*
RUN pip --no-cache-dir install pytest-cov gcovr pycobertura flake8 coverage tox 'pip>=24'
# FIXME: Install h5py<3.11.0 on aarch64 because h5py has not released aarch64 wheels for 3.11.0.
RUN pip --no-cache-dir install pytest-cov gcovr pycobertura flake8 coverage tox 'pip>=24' 'h5py<3.11.0;platform_machine=="aarch64"'
COPY requirements.txt .
RUN pip --no-cache-dir install -r requirements.txt && rm -f requirements.txt
EOF
Expand Down

0 comments on commit 1754c1c

Please sign in to comment.