This is an automated email from the ASF dual-hosted git repository.
iwasakims pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/bigtop.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new b7bde386f BIGTOP-4051: Drop python dependency in Phoenix Package
(#1264)
b7bde386f is described below
commit b7bde386f45fbe2915f0cfe6758a2e87c6dd9a58
Author: jialiang <[email protected]>
AuthorDate: Mon May 20 22:58:54 2024 +0800
BIGTOP-4051: Drop python dependency in Phoenix Package (#1264)
(cherry picked from commit 7e23dc933ace0a629c9e01337a1934785f09ca91)
---
bigtop-packages/src/deb/phoenix/control | 2 +-
bigtop-packages/src/rpm/phoenix/SPECS/phoenix.spec | 10 ----------
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/bigtop-packages/src/deb/phoenix/control
b/bigtop-packages/src/deb/phoenix/control
index 6b01c07f5..d601f278a 100644
--- a/bigtop-packages/src/deb/phoenix/control
+++ b/bigtop-packages/src/deb/phoenix/control
@@ -23,7 +23,7 @@ Homepage: http://phoenix.apache.org
Package: phoenix
Architecture: all
-Depends: bigtop-utils (>= 0.7), python (>= 2.6) | python2 (>= 2.6)
+Depends: bigtop-utils (>= 0.7)
Description: Phoenix is a SQL skin over HBase and client-embedded JDBC driver.
Phoenix is a SQL skin over HBase, delivered as a client-embedded JDBC driver.
The Phoenix query engine transforms an SQL query into one or more HBase scans,
diff --git a/bigtop-packages/src/rpm/phoenix/SPECS/phoenix.spec
b/bigtop-packages/src/rpm/phoenix/SPECS/phoenix.spec
index 76868e3d6..2c6d8911f 100644
--- a/bigtop-packages/src/rpm/phoenix/SPECS/phoenix.spec
+++ b/bigtop-packages/src/rpm/phoenix/SPECS/phoenix.spec
@@ -94,12 +94,6 @@ Requires: bsh-utils
Requires: coreutils
%endif
-%if 0%{?rhel} >= 8 || 0%{?openEuler}
-Requires: python3
-%else
-Requires: python
-%endif
-
%description
Phoenix is a SQL skin over HBase, delivered as a client-embedded JDBC driver.
The Phoenix query engine transforms an SQL query into one or more HBase scans,
@@ -130,10 +124,6 @@ getent passwd phoenix >/dev/null || useradd -c "Phoenix"
-s /sbin/nologin -g pho
%post
%{alternatives_cmd} --install %{etc_phoenix_conf} %{name}-conf
%{etc_phoenix_conf_dist} 30
-%if 0%{?rhel} >= 8
-%{alternatives_cmd} --set python /usr/bin/python3
-%endif
-
%preun
if [ "$1" = 0 ]; then