Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-14146

[Dev] Update merge script to specify python3 in shebang line

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              icook Ian Cook
              icook Ian Cook
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h