Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-618

Avro doesn't work with python 2.4

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.4.0
    • None
    • None

    Description

      The avro tests fail on a system with python2.4. The issues can be easily worked around by avoiding python2.5 constructs and libraries.

      The missing "struct.Struct" is what started me down this path, but I also ended up tackling a few other similar issues and re-jiggering slightly the build.xml to allow for "ant test -Dpython=python2.4" to work.

        File "build/bdist.macosx-10.5-i386/egg/avro/io.py", line 52, in ?
      AttributeError: 'module' object has no attribute 'Struct'
      

      Attachments

        1. AVRO-618.patch.txt
          10 kB
          Philip Martin

        Issue Links

          Activity

            People

              philip Philip Martin
              philip Philip Martin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: