You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/04/26 18:55:00 UTC

[jira] [Commented] (IMPALA-9627) Update Impala utility Python scripts to be Python3 compatible

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

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

Commit 0a42185d17164af0c855647de25f1bc87f33ee71 in impala's branch refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0a42185d1 ]

IMPALA-9627: Update utility scripts for Python 3 (part 2)

We're starting to see environments where the system Python ('python') is
Python 3. Updates utility and build scripts to work with Python 3, and
updates check-pylint-py3k.sh to check scripts that use system python.

Fixes other issues found during a full build and test run with Python
3.8 as the default for 'python'.

Fixes a impala-shell tip that was supposed to have been two tips (and
had no space after period when they were printed).

Removes out-of-date deploy.py and various Python 2.6 workarounds.

Testing:
- Full build with /usr/bin/python pointed to python3
- run-all-tests passed with python pointed to python3
- ran push_to_asf.py

Change-Id: Idff388aff33817b0629347f5843ec34c78f0d0cb
Reviewed-on: http://gerrit.cloudera.org:8080/19697
Reviewed-by: Michael Smith <mi...@cloudera.com>
Tested-by: Michael Smith <mi...@cloudera.com>


> Update Impala utility Python scripts to be Python3 compatible
> -------------------------------------------------------------
>
>                 Key: IMPALA-9627
>                 URL: https://issues.apache.org/jira/browse/IMPALA-9627
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>    Affects Versions: Impala 4.0.0
>            Reporter: Laszlo Gaal
>            Assignee: Michael Smith
>            Priority: Major
>
> Impala utility Python scripts are the ones that run outside the Impala virtualenv with system Python (not impala-python), except for impala-shell. These scripts should be updated for Python3 to help the project's migration to Python 3 after the retirement of Python 2.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org