[
https://issues.apache.org/jira/browse/MESOS-5186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Myautsai PAN updated MESOS-5186:
--------------------------------
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'
],}}
was:
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}} .
-As mentioned in https://github.com/google/protobuf/releases/tag/v3.0.0-alpha-1
{quote}
>From v3.0.0, a new language version (proto3) is
introduced while the old version (proto2) will continue to be supported.
{quote}
protobuf 3.x is compatible with protobuf 2.x, so- would you please remove the
restriction of {{,<3}} to leave it {{protobuf>=2.6.1}} ?
Related code:
https://github.com/apache/mesos/blob/66cddaf/src/python/interface/setup.py.in#L29
> mesos.interface: Allow using protobuf 3.x
> -----------------------------------------
>
> Key: MESOS-5186
> URL: https://issues.apache.org/jira/browse/MESOS-5186
> Project: Mesos
> Issue Type: Improvement
> Components: python api
> Reporter: Myautsai PAN
> Priority: Minor
> Labels: easyfix
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> 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'
> ],}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)