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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • 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

              kou Kouhei Sutou
              kou Kouhei Sutou
              Votes:
              0 Vote for this issue
              Watchers:
              3 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