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

        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
        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.
        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.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development