Skip to content

Fix wheel test Docker build failure (Fedora) #1485

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docker/test/wheels/fedora.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ ARG pip_install_flags="--user"
ARG preinstalled_modules="numpy pytest nvidia-cublas-cu11"

ARG DEBIAN_FRONTEND=noninteractive
RUN dnf install -y --nobest --setopt=install_weak_deps=False \

# Some Python versions need the latest version of libexpat on Fedora, and the
# base fedora:38 image doesn't have the latest version installed.
RUN dnf update -y --nobest expat \
&& dnf install -y --nobest --setopt=install_weak_deps=False \
python$(echo $python_version | tr -d .) \
&& python${python_version} -m ensurepip --upgrade
RUN if [ -n "$preinstalled_modules" ]; then \
Expand Down