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/03/01 14:57: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=17695130#comment-17695130 ]
ASF subversion and git services commented on IMPALA-9627:
---------------------------------------------------------
Commit 0c72c98f91d291c02e281ebbd04ba94401e93c07 in impala's branch refs/heads/master from Michael Smith
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=0c72c98f9 ]
IMPALA-9627: Update utility scripts for Python 3
Updates utility scripts that don't use impala-python to work with Python
3 so we can build on systems that don't include Python 2 (such as SLES
15 SP4).
Primarily adds 'universal_newlines=True' to subprocess calls so they
return text rather than binary data in Python 3 with a change that's
compatible with Python 2.
Testing:
- built in SLES 15 SP4 container with Python 3
Change-Id: I7f4ce71fa1183aaeeca55d0666aeb113640c5cf2
Reviewed-on: http://gerrit.cloudera.org:8080/19559
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