mirror of
https://github.com/apache/impala.git
synced 2025-12-19 18:12:08 -05:00
Construction of the impala-virtualenv fails since PyPI released version 7.0.0 of pbr. This blocks all precommit runs, since the Impala virtualenv is required for all end-to-end tests. The failure happen during pywebhdfs==0.3.2 installation. It is expected to pullthe pinned version pbr==3.1.1, but the latest pbr==7.0.0 was pulled instead. pbr==7.0.0 then broke with this error message: ModuleNotFoundError: No module named 'packaging.requirements' This patch adds workaround in bootstrap_virtualenv.py to install packaging==24.1 early for python3. Installing it early managed to unblock `make -j impala_python3`. packaging==24.1 package is already listed in infra/python/deps/gcovr-requirements.txt, which installed in later step and in python3 virtualenv only. Testing: Pass shell/ tests in Ubuntu 22.04 and Rocky 9.2. Change-Id: I0167fb5e1e0637cdde64d0d3beaf6b154afc06b1 Reviewed-on: http://gerrit.cloudera.org:8080/23292 Reviewed-by: Jason Fehr <jfehr@cloudera.com> Tested-by: Jason Fehr <jfehr@cloudera.com>
22 KiB
22 KiB