Joe McDonnell has uploaded this change for review. ( http://gerrit.cloudera.org:8080/19567
Change subject: [PROTOTYPE] IMPALA-11959: Add Python 3 virtualenv ...................................................................... [PROTOTYPE] IMPALA-11959: Add Python 3 virtualenv This adds a Python 3 equivalent to the impala-python virtualenv base on the toolchain Python 3.7.16. This modifies bootstrap_virtualenv.py to support the two different modes. This adds py2-requirements.txt and py3-requirements.txt to allow some differences between the Python 2 and Python 3 virtualenvs. Here are some specific package changes: - allpairs is replaced with allpairspy, as allpairs did not support Python 3. - requests is upgraded slightly, because otherwise is has issues with idna==2.8. - pylint is limited to Python 3, because we are adding it and don't need it on both - flake8 is limited to Python 2, because it will take some work to switch to a version that works on Python 3 - cm_api is limited to Python 2, because it doesn't support Python 3 - pytest-random does not support Python 3 and it is unused, so it is removed - Bump the version of setuptool-scm to support Python 3 This adds impala-pylint, which can be used to do further Python 3 checks via --py3k. This pulls in a new toolchain with the fix for IMPALA-11956 to get Python 3.7.16. Testing: - Hand tested that the allpairs libraries produce the same results Change-Id: Ica4853f440c9a46a79bd5fb8e0a66730b0b4efc0 --- M CMakeLists.txt M bin/bootstrap_toolchain.py M bin/impala-config.sh A bin/impala-pip3 A bin/impala-pylint A bin/impala-python3 A bin/impala-python3-common.sh M bin/init-impala-python.sh M infra/python/bootstrap_virtualenv.py M infra/python/deps/pip_download.py A infra/python/deps/py2-requirements.txt A infra/python/deps/py3-requirements.txt M infra/python/deps/requirements.txt M infra/python/deps/setuptools-requirements.txt M testdata/bin/generate-test-vectors.py M tests/common/test_vector.py M tests/query_test/test_decimal_casting.py 17 files changed, 260 insertions(+), 66 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/67/19567/1 -- To view, visit http://gerrit.cloudera.org:8080/19567 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ica4853f440c9a46a79bd5fb8e0a66730b0b4efc0 Gerrit-Change-Number: 19567 Gerrit-PatchSet: 1 Gerrit-Owner: Joe McDonnell <[email protected]>
