Skip to content

Commit 32d1148

Browse files
committed
Install the Python packages from the distro's repo
Cherrypicks the Python dependencies changes from Greenplum to Cloudberry in this PR: apache/cloudberry#1067. So we need to update the configure script and install the Python dependencies from the distro's repos.
1 parent 7a6549c commit 32d1148

3 files changed

Lines changed: 6 additions & 1 deletion

File tree

build_automation/cloudberry/scripts/configure-cloudberry.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ execute_cmd ./configure --prefix=/usr/local/cloudberry-db \
145145
--with-perl \
146146
--with-pgport=5432 \
147147
--with-python \
148-
--with-pythonsrc-ext \
149148
--with-ssl=openssl \
150149
--with-openssl \
151150
--with-uuid=e2fs \

images/docker/cbdb/build/rocky8/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ RUN dnf makecache && \
119119
procps-ng \
120120
python3 \
121121
python3-devel \
122+
python3-psutil \
123+
python3-psycopg2 \
124+
python3-pyyaml \
122125
readline-devel \
123126
rsync \
124127
sshpass \

images/docker/cbdb/build/rocky9/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,9 @@ RUN dnf makecache && \
130130
perl-Test-Simple \
131131
perl-core \
132132
python3-devel \
133+
python3-psutil \
134+
python3-psycopg2 \
135+
python3-pyyaml \
133136
python3-pytest \
134137
readline-devel \
135138
zlib-devel && \

0 commit comments

Comments
 (0)