[CRIU] p.haul python versions?

Saied Kazemi saied at google.com
Tue Oct 20 12:33:53 PDT 2015


+filbranden@

Hi Tycho,

I was surprised by the comment, so I asked around...  Apparently, that
comment (https://github.com/BVLC/caffe/issues/293) is about no plans to
support Python 3 for caffee.  This has nothing to do with Google not
supporting protobuf in Python 3.  In fact, gRPC (
https://github.com/grpc/grpc) which will support Python 2.7 and Python 3.4
requires protobuf.

I am not a Python expert and am not involved with protobuf development
efforts but can direct you to the right folks if you need more detailed
information.

--Saied


On Tue, Oct 20, 2015 at 10:11 AM, Tycho Andersen <
tycho.andersen at canonical.com> wrote:

> On Tue, Oct 20, 2015 at 10:20:35AM +0300, Pavel Emelyanov wrote:
> > On 10/20/2015 12:40 AM, Tycho Andersen wrote:
> > > Hi all,
> > >
> > > I'm curious as to what versions of python p.haul will (does) support.
> > > I'd like to use the in-tree LXC API, but it is python3 only. I can put
> > > some import guards around this and try to protect it, but if p.haul is
> > > python3 only then I'll avoid doing that :)
> >
> > Well, I use 2.7, presumably everybody else at Odin does the same :)
> >
> > If you think that the easier way to go is to patch p.haul to work on
> > python3, you're welcome ;)
>
> Euh. So I don't think it would actually be that hard, but we do need
> protobuf (p.haul imports crit, which imports protobufs), and as near
> as I can tell, google isn't interested in porting python's protobuf
> libraries to python3:
>
> https://github.com/BVLC/caffe/issues/293
>
> it might be possible with some hacks it looks like, but I'd hate to
> rely on those. There is an out of tree LXC binding for python2, but it
> is not well maintained. I wonder if fork + exec is the best option
> here. :(
>
> Tycho
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvz.org/pipermail/criu/attachments/20151020/95a0c7c8/attachment.html>


More information about the CRIU mailing list