Ian Cook created ARROW-14146:
--------------------------------
Summary: [C++] Update merge script to specify python3 in shebang
line
Key: ARROW-14146
URL: https://issues.apache.org/jira/browse/ARROW-14146
Project: Apache Arrow
Issue Type: Improvement
Components: Developer Tools
Reporter: Ian Cook
Assignee: Ian Cook
Currently the script in {{dev/merge_arrow_pr.py}} requires modifying to run on
any machines/environments where the shebang line {{#!/usr/bin/env python}}
finds the system Python 2 instead of Python 3.
Updating the shebang line to read {{python3}} instead of {{python}} would fix
this.
[~thisisnic] did the same for the linting and formatting scripts in
ARROW-13759. Perhaps it is not as important to do this for the merge script
because there is a wrapper script {{dev/merge_arrow_pr.sh}} that creates a
virtual env and runs the Python script in it, but some Arrow devs (I for one)
call the Python script directly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)