[ 
https://issues.apache.org/jira/browse/IMPALA-14620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18060807#comment-18060807
 ] 

ASF subversion and git services commented on IMPALA-14620:
----------------------------------------------------------

Commit 69dc0588f76245ce9503e15c72219a0a646156fd in impala's branch 
refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=69dc0588f ]

IMPALA-14620 (part 1): Remove the Python 2 impala-python virtualenv

Previous changes stopped building the Python 2 impala-python
virtualenv, but the code is still around. Since Python 2 is
dead, this removes that support and simplifies the code:
1. It removes the impala-python Python 2 virtualenv. This
   removes py2-requirements.txt and folds py3-requirements.txt
   back into requirements.txt. This also removes various
   helper scripts for the Python 2 virtualenv.
2. This removes pylint and the check-pylint-py3k.sh script.
   Pylint is currently only used for the py3k check. This
   keeps isort separately.
3. It drops the Python 2 virtualenv package and support.
4. This drops IMPALA_USE_PYTHON3_TESTS and adjusts run-tests.py
   to use impala-python3 directly.
5. This drops the code for producing the Python 2 virtualenv
   for the shell (and associated packaging code). This also
   removes the test code for handling the Python 2 shell.
   This does not drop Python 2 support from impala-shell,
   so it is still possible to pip install it for Python 2.
6. This drops some code for detecting whether Python supports
   SSL, which was used for old versions of Python 2.

Testing:
 - Ran a core job

Change-Id: If28a8a0466614fc1d022e27c742dc3880509947a
Reviewed-on: http://gerrit.cloudera.org:8080/23967
Reviewed-by: Michael Smith <[email protected]>
Tested-by: Joe McDonnell <[email protected]>


> Cleanup remaining Python 2 artifacts
> ------------------------------------
>
>                 Key: IMPALA-14620
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14620
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>            Reporter: Riza Suminto
>            Assignee: Joe McDonnell
>            Priority: Major
>
> With IMPALA-14606 merged, we should follow up with cleaning up remaining 
> Python 2 artifacts. This include:
>  * Remove Python 2 build related Makefiles code.
>  * Remove / adjust scripts that refer to impala-python-common.sh.
>  * Drop dev and python2 test dimension from tests/shell/util.py.
>  * Remove IMPALA_USE_PYTHON3_TESTS and always run test using Python 3.
>  * Replace explicit invocation of python and python2 to python3.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to