Hello Laszlo Gaal (Cloudera), Jiyoung Yoo, Joe McDonnell, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
https://gerrit.cloudera.org/25463
to look at the new patch set (#2).
Change subject: IMPALA-15813: Relax python3 build requirements
......................................................................
IMPALA-15813: Relax python3 build requirements
Relax build requirements so IMPALA_SYSTEM_PYTHON3 (set via
IMPALA_SYSTEM_PYTHON3_OVERRIDE) can be a Python variant like python3.12
instead of requiring a binary named python3. Shell virtualenvs are named
after each interpreter's basename, and shell tests now locate the
virtualenv and run the shell tarball using IMPALA_SYSTEM_PYTHON3.
At least one of IMPALA_SYSTEM_PYTHON3 or IMPALA_EXTRA_PACKAGE_PYTHONS
must be set to build. IMPALA_SYSTEM_PYTHON3 may be empty when
IMPALA_EXTRA_PACKAGE_PYTHONS is set, but tests require it. Entries in
IMPALA_EXTRA_PACKAGE_PYTHONS must have unique basenames that differ from
the basename of IMPALA_SYSTEM_PYTHON3. CMake configuration fails with a
clear error when these requirements are not met.
Testing:
- Built shell_tarball and impala_shell_pypi with combinations of
IMPALA_SYSTEM_PYTHON3 (default, python3.12, empty) and
IMPALA_EXTRA_PACKAGE_PYTHONS (unset, python3.11, multiple entries),
and ran impala-shell from each virtualenv and the tarball.
- Verified configuration errors for duplicate basenames and when no
python is set.
Change-Id: I03f1e2d4be15407d54150c57f503e4aa69d7e201
Assisted-by: Claude Opus 5.5 (GitHub Copilot)
---
M CMakeLists.txt
M bin/impala-config.sh
M shell/CMakeLists.txt
M shell/packaging/make_shell_tarball.sh
M tests/shell/util.py
5 files changed, 46 insertions(+), 25 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/63/25463/2
--
To view, visit https://gerrit.cloudera.org/25463
To unsubscribe, visit https://gerrit.cloudera.org/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I03f1e2d4be15407d54150c57f503e4aa69d7e201
Gerrit-Change-Number: 25463
Gerrit-PatchSet: 2
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jiyoung Yoo <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>