Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-5186

mesos.interface: Allow using protobuf 3.x

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.3.0
    • Component/s: python api
    • Labels:
    • Target Version/s:

      Description

      We're working on integrating TensorFlow(https://www.tensorflow.org) with mesos. Both the two require protobuf. The python package mesos.interface requires protobuf>=2.6.1,<3, but tensorflow requires protobuf>=3.0.0 . Though protobuf 3.x is not compatible with protobuf 2.x, but anyway we modify the setup.py (https://github.com/apache/mesos/blob/66cddaf/src/python/interface/setup.py.in#L29)
      from 'install_requires': [ 'google-common>=0.0.1', 'protobuf>=2.6.1,<3' ], to 'install_requires': [ 'google-common>=0.0.1', 'protobuf>=2.6.1' ],

      It works fine. Would you please consider support protobuf 3.x officially in the next release? Maybe just remove the ,<3 restriction is enough.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                asottileyelp Anthony Sottile
                Reporter:
                mckelvin Myautsai PAN
                Shepherd:
                haosdent
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: