Avro
  1. Avro
  2. AVRO-622

python avro.ipc doesn't work with python2.4

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: python
    • Labels:
      None

      Description

      Similar to AVRO-618, avro.ipc depends on the 'struct' python module, which is newish.

      1. AVRO-622.patch.txt
        2 kB
        Philip Zeyliger

        Activity

        Hide
        Philip Zeyliger added a comment -

        This patch fixes the issue. I will commit it shortly; it imports the trick from AVRO-618 to overcome the lack of a struct class in older pythons.

        I've attached a test which "does nothing", but it does import the avro.ipc module. I started writing an end-to-end test for python RPC, but it turns out that there weren't any server implementations. The test file will check compilation and can serve as a placeholder.

        Show
        Philip Zeyliger added a comment - This patch fixes the issue. I will commit it shortly; it imports the trick from AVRO-618 to overcome the lack of a struct class in older pythons. I've attached a test which "does nothing", but it does import the avro.ipc module. I started writing an end-to-end test for python RPC, but it turns out that there weren't any server implementations. The test file will check compilation and can serve as a placeholder.

          People

          • Assignee:
            Philip Zeyliger
            Reporter:
            Philip Zeyliger
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development