Skip to content

Commit 7805f4c

Browse files
committed
fix python version to 3.9 to fix builds on RHEL 8
Signed-off-by: Utkarsh Srivastava <[email protected]>
1 parent 5db8f36 commit 7805f4c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Diff for: src/deploy/NVA_build/builder.Dockerfile

+5-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ RUN dnf update -y -q --nobest && \
2121
COPY ./src/deploy/NVA_build/install_arrow_build.sh ./src/deploy/NVA_build/install_arrow_build.sh
2222
ARG BUILD_S3SELECT_PARQUET=0
2323
RUN ./src/deploy/NVA_build/install_arrow_build.sh $BUILD_S3SELECT_PARQUET
24-
RUN dnf install -y -q wget unzip which vim python3 boost-devel libcap-devel && \
24+
RUN dnf install -y -q wget unzip which vim python3.9 boost-devel libcap-devel && \
2525
dnf group install -y -q "Development Tools" && \
2626
dnf clean all
27+
28+
# It's not important to report this failure (fails for Centos9)
29+
RUN alternatives --auto python3 || exit 0
30+
2731
RUN version="2.15.05" && \
2832
wget -q -O nasm-${version}.tar.gz https://github.com/netwide-assembler/nasm/archive/nasm-${version}.tar.gz && \
2933
tar -xf nasm-${version}.tar.gz && \

Diff for: src/deploy/RPM_build/noobaa.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ URL: https://www.noobaa.io/
2626
Source0: %{noobaatar}
2727

2828
BuildRequires: systemd
29-
BuildRequires: python3
29+
BuildRequires: python3.9
3030
BuildRequires: make
3131
BuildRequires: gcc-c++
3232
BuildRequires: boost-devel

0 commit comments

Comments
 (0)