Avro
  1. Avro
  2. AVRO-845

setup.py uses Python2.7+ specific code

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: python
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      setup.py uses sys.version_info.major which was introduced at Python2.7 (thanks to Jeremy Lewi for reporting).

      1. AVRO-845.diff
        0.4 kB
        Miki Tebeka

        Activity

        Miki Tebeka created issue -
        Hide
        Miki Tebeka added a comment -

        Patch to make setup.py compatible with version < 2.7

        Show
        Miki Tebeka added a comment - Patch to make setup.py compatible with version < 2.7
        Miki Tebeka made changes -
        Field Original Value New Value
        Attachment AVRO-845.diff [ 12484647 ]
        Hide
        Philip Zeyliger added a comment -

        I've reviewed and committed this. Thanks for the bug fix. I believe the bug was introduced in AVRO-833; my apologies for not spotting it in review.

        Show
        Philip Zeyliger added a comment - I've reviewed and committed this. Thanks for the bug fix. I believe the bug was introduced in AVRO-833 ; my apologies for not spotting it in review.
        Philip Zeyliger made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Resolution Fixed [ 1 ]
        Hide
        Philip Zeyliger added a comment -

        Note that I haven't backported this; just checked it into trunk.

        Show
        Philip Zeyliger added a comment - Note that I haven't backported this; just checked it into trunk.
        Doug Cutting made changes -
        Fix Version/s 1.6.0 [ 12316198 ]
        Doug Cutting made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1d 3h 3m 1 Philip Zeyliger 30/Jun/11 17:57
        Resolved Resolved Closed Closed
        43d 3h 25m 1 Doug Cutting 12/Aug/11 21:22

          People

          • Assignee:
            Miki Tebeka
            Reporter:
            Miki Tebeka
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development