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

mesos.interface: Allow using protobuf 3.x

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.0
    • python api

    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

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

              Dates

                Created:
                Updated:
                Resolved: