Skip to content

Commit

Permalink
fix python version to 3.9 to fix builds on RHEL 8
Browse files Browse the repository at this point in the history
Signed-off-by: Utkarsh Srivastava <[email protected]>
  • Loading branch information
tangledbytes committed Jan 20, 2025
1 parent 5db8f36 commit 7805f4c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/deploy/NVA_build/builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@ RUN dnf update -y -q --nobest && \
COPY ./src/deploy/NVA_build/install_arrow_build.sh ./src/deploy/NVA_build/install_arrow_build.sh
ARG BUILD_S3SELECT_PARQUET=0
RUN ./src/deploy/NVA_build/install_arrow_build.sh $BUILD_S3SELECT_PARQUET
RUN dnf install -y -q wget unzip which vim python3 boost-devel libcap-devel && \
RUN dnf install -y -q wget unzip which vim python3.9 boost-devel libcap-devel && \
dnf group install -y -q "Development Tools" && \
dnf clean all

# It's not important to report this failure (fails for Centos9)
RUN alternatives --auto python3 || exit 0

RUN version="2.15.05" && \
wget -q -O nasm-${version}.tar.gz https://github.com/netwide-assembler/nasm/archive/nasm-${version}.tar.gz && \
tar -xf nasm-${version}.tar.gz && \
Expand Down
2 changes: 1 addition & 1 deletion src/deploy/RPM_build/noobaa.spec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ URL: https://www.noobaa.io/
Source0: %{noobaatar}

BuildRequires: systemd
BuildRequires: python3
BuildRequires: python3.9
BuildRequires: make
BuildRequires: gcc-c++
BuildRequires: boost-devel
Expand Down

0 comments on commit 7805f4c

Please sign in to comment.