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

[C++] get_apache_mirror.py doesn't work with Python 3.5

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: C++

      Description

      % python3 --version
      Python 3.5.3
      % python3 cpp/build-support/get_apache_mirror.py 
      Traceback (most recent call last):
        File "cpp/build-support/get_apache_mirror.py", line 31, in <module>
          print(json.loads(suggested_mirror)['preferred'])
        File "/usr/lib/python3.5/json/__init__.py", line 312, in loads
          s.__class__.__name__))
      TypeError: the JSON object must be str, not 'bytes'
      

      Debian stretch ships Python 3.5 as python3.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kou Kouhei Sutou
                Reporter:
                kou Kouhei Sutou
              • 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