>
> It might work to use
> 0.19 with a 0.20 mesos (or visa versa), but there be dragons =)
>

Is there a deprecation cycle? How should folks be upgrading Python
schedulers
and executors to 0.20.0 if they are not statically bundling libmesos?
Is there an upgrade order required?

We will need to document this carefully in the upgrade procedures for
0.20.0.

Thanks for cleaning this up Thomas! Appreciate it.

On Sat, Aug 2, 2014 at 12:12 PM, Thomas Rampelberg <[email protected]>
wrote:

> You'll want to match the python bindings to your mesos version as the
> functionality is coming from libmesos itself. It might work to use
> 0.19 with a 0.20 mesos (or visa versa), but there be dragons =)
>
>
> On Fri, Aug 1, 2014 at 1:30 PM, Jie Yu <[email protected]> wrote:
> > Thomas,
> >
> > Thank you for the heads-up. One question: what if mesos and python
> binding
> > have different versions? For example, is it ok to use a 0.19.0 python
> > binding and having a 0.20.0 mesos? Same question for the reverse.
> >
> > - Jie
> >
> >
> > On Fri, Aug 1, 2014 at 9:37 AM, Thomas Rampelberg <[email protected]>
> > wrote:
> >
> >> - What problem are we trying to solve?
> >>
> >> Currently, the python bindings group protobufs, stub implementations
> >> and compiled code into a single python package that cannot be
> >> distributed easily. This forces python projects using mesos to copy
> >> protobufs around and forces a onerous dependency on anyone who would
> >> like to do a pure python binding.
> >>
> >> - How was this problem solved?
> >>
> >> The current python package has been split into two separate packages:
> >>
> >> - mesos.interface (stub implementations and protobufs)
> >> - mesos.native (old _mesos module)
> >>
> >> These are python meta-packages and can be installed as separate
> >> pieces. The `mesos.interface` package will be hosted on pypi and can
> >> be installed via. easy_install and pip.
> >>
> >> See https://issues.apache.org/jira/browse/MESOS-857 and
> >> https://reviews.apache.org/r/23224/.
> >>
> >> - Why should I care?
> >>
> >> These changes are not backwards compatible. With 0.20.0 you will need
> >> to change how you use the python bindings. Here's a quick overview:
> >>
> >>     mesos.Scheduler -> mesos.interface.Scheduler
> >>     mesos.mesos_pb2 -> mesos.interface.mesos_pb2
> >>     mesos.MesosSchedulerDriver -> mesos.native.MesosSchedulerDriver
> >>
> >> For more details, you can take a look at the examples in
> >> `src/examples/python".
> >>
>

Reply via email to