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

Gowthami Bisati edited comment on IMPALA-13858 at 6/17/26 11:03 AM:
--------------------------------------------------------------------

Hi [~boroknagyz] and [~rizaon] ,

I have verified the file inline_pom.py which has correct shebang 
{code:java}
#!/usr/bin/env impala-python3{code}
 in place of   
{code:java}
#!/usr/bin/env impala-python{code}
  This will use the Python3 Impala environment instead, avoiding the Python 2 
virtual env rebuild. 

As a part of  IMPALA-14501 this change was made.

[~rizaon] Please check the issue and confirm if we are good to close this Jira. 
Thank you in advance!.

 

 

 


was (Author: JIRAUSER313650):
Hi [~boroknagyz] and [~rizaon] ,

I have verified the file inline_pom.py which has correct shebang "
{code:java}
#!/usr/bin/env impala-python3{code}
  in place of   
{code:java}
#!/usr/bin/env impala-python{code}
  , this will use the Python3 Impala environment instead, avoiding the Python 2 
virtual env rebuild. 

As a part of  IMPALA-14501 this change was made.

[~rizaon] Please check the issue and confirm if we are good to close this Jira. 
Thank you in advance!.

 

 

 

> Change shebang of inline_pom.py to python
> -----------------------------------------
>
>                 Key: IMPALA-13858
>                 URL: https://issues.apache.org/jira/browse/IMPALA-13858
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Infrastructure
>            Reporter: Riza Suminto
>            Assignee: Gowthami Bisati
>            Priority: Trivial
>              Labels: newbie, ramp-up
>
> I used inline_pom.py often when coding through remote VSCode. The script 
> interpret using impala-python, requiring it to rebuild python2 virtualenv 
> when switching between fairly different branch.
> {noformat}
> INFO:bootstrap_virtualenv:Creating python2 virtualenv
> INFO:bootstrap_virtualenv:Installing setuptools into the python2 virtualenv
> INFO:bootstrap_virtualenv:Installing packages into the python2 virtualenv
> INFO:bootstrap_virtualenv:Installing Kudu into the python2 virtualenv
> INFO:bootstrap_virtualenv:Installing python2 packages into the 
> virtualenv{noformat}
> The script is simple. So , we should be able to avoid this by changing the 
> shebang to plain python.
> {code:java}
> #!/usr/bin/env python {code}



--
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