Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/20073 )
Change subject: PROTOTYPE: IMPALA-11961/IMPALA-12207: Add Redhat 9 / Ubuntu 22 support ...................................................................... Patch Set 2: (1 comment) http://gerrit.cloudera.org:8080/#/c/20073/2/shell/CMakeLists.txt File shell/CMakeLists.txt: http://gerrit.cloudera.org:8080/#/c/20073/2/shell/CMakeLists.txt@56 PS2, Line 56: add_custom_command(OUTPUT "${PYTHON3_VENV}" : COMMAND "$ENV{IMPALA_SYSTEM_PYTHON3}" -m venv "${PYTHON3_VENV}" > Is there some reason to move off virtualenv? Ubuntu 22 uses python 3.10. (Redhat 9 doesn't have this problem, presumably because it is still on Python 3.9.) The error message I got was: 2023-06-13 22:57:54.663848 [ 98%] Generating build/py3_venv 2023-06-13 22:57:54.838108 /home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py:24: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives 2023-06-13 22:57:54.838160 import distutils.spawn 2023-06-13 22:57:54.842252 /home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py:25: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead 2023-06-13 22:57:54.842264 import distutils.sysconfig 2023-06-13 22:57:54.897511 Already using interpreter /usr/bin/python3 2023-06-13 22:57:54.897523 Using base prefix '/usr' 2023-06-13 22:57:54.897542 New python executable in /home/impdev/Impala/shell/build/py3_venv/bin/python3 2023-06-13 22:57:54.897569 Also creating executable in /home/impdev/Impala/shell/build/py3_venv/bin/python 2023-06-13 22:57:54.897583 Traceback (most recent call last): 2023-06-13 22:57:54.897609 File "/home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py", line 2633, in <module> 2023-06-13 22:57:54.897750 main() 2023-06-13 22:57:54.897775 File "/home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py", line 859, in main 2023-06-13 22:57:54.897829 create_environment( 2023-06-13 22:57:54.897856 File "/home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py", line 1161, in create_environment 2023-06-13 22:57:54.897959 install_python(home_dir, lib_dir, inc_dir, bin_dir, site_packages=site_packages, clear=clear, symlink=symlink) 2023-06-13 22:57:54.897986 File "/home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py", line 1720, in install_python 2023-06-13 22:57:54.898080 fix_local_scheme(home_dir, symlink) 2023-06-13 22:57:54.898107 File "/home/impdev/Impala/infra/python/env-gcc10.4.0/lib/python2.7/site-packages/virtualenv.py", line 1806, in fix_local_scheme 2023-06-13 22:57:54.898227 if sysconfig._get_default_scheme() == "posix_local": 2023-06-13 22:57:54.898252 AttributeError: module 'sysconfig' has no attribute '_get_default_scheme'. Did you mean: 'get_default_scheme'? 2023-06-13 22:57:54.904701 Running virtualenv with interpreter /usr/bin/python3 2023-06-13 22:57:54.936797 Generated: /home/impdev/Impala/logs/extra_junit_xml_logs/generate_junitxml.build.e04f936c52bd191e19445b41c3220695.20230614_05_57_54.xml -- To view, visit http://gerrit.cloudera.org:8080/20073 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If1fcdb2f8c635ecd6dc7a8a1db81f5f389c78b86 Gerrit-Change-Number: 20073 Gerrit-PatchSet: 2 Gerrit-Owner: Joe McDonnell <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Comment-Date: Thu, 15 Jun 2023 00:12:19 +0000 Gerrit-HasComments: Yes
