<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 12:42 PM, Tycho Andersen <span dir="ltr"><<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Saied,<br>
<span class=""><br>
On Tue, Oct 20, 2015 at 12:33:53PM -0700, Saied Kazemi wrote:<br>
> +filbranden@<br>
><br>
> Hi Tycho,<br>
><br>
> I was surprised by the comment, so I asked around... Apparently, that<br>
> comment (<a href="https://github.com/BVLC/caffe/issues/293" rel="noreferrer" target="_blank">https://github.com/BVLC/caffe/issues/293</a>) is about no plans to<br>
> support Python 3 for caffee. This has nothing to do with Google not<br>
> supporting protobuf in Python 3. In fact, gRPC (<br>
> <a href="https://github.com/grpc/grpc" rel="noreferrer" target="_blank">https://github.com/grpc/grpc</a>) which will support Python 2.7 and Python 3.4<br>
> requires protobuf.<br>
><br>
> I am not a Python expert and am not involved with protobuf development<br>
> efforts but can direct you to the right folks if you need more detailed<br>
> information.<br>
<br>
</span>Whoops, wrong link :)<br>
<br>
<a href="https://github.com/google/protobuf/issues/646" rel="noreferrer" target="_blank">https://github.com/google/protobuf/issues/646</a><br>
<br>
The release notes for 2.6.0 say that there is python3 support, but it<br>
doesn't actually build. I see that the 3.0.0 alpha support done by a<br>
handful of folks, but it's not clear from the issue tracker what the<br>
status is. Anyway, good to hear that it will be supported, it<br>
surprised me that it wasn't already.<br>
<br>
Do you have any idea when a 3.0.0 final will be tagged? I don't mind<br>
porting crit/p.haul to python3, but I would like to have something<br>
that we can release in Ubuntu 16.04.<br></blockquote><div><br></div><div>No, I don't know but I will try to find the answer and let you know.</div><div><br></div><div>--Saied</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="HOEnZb"><font color="#888888">Tycho<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> --Saied<br>
><br>
><br>
> On Tue, Oct 20, 2015 at 10:11 AM, Tycho Andersen <<br>
> <a href="mailto:tycho.andersen@canonical.com">tycho.andersen@canonical.com</a>> wrote:<br>
><br>
> > On Tue, Oct 20, 2015 at 10:20:35AM +0300, Pavel Emelyanov wrote:<br>
> > > On 10/20/2015 12:40 AM, Tycho Andersen wrote:<br>
> > > > Hi all,<br>
> > > ><br>
> > > > I'm curious as to what versions of python p.haul will (does) support.<br>
> > > > I'd like to use the in-tree LXC API, but it is python3 only. I can put<br>
> > > > some import guards around this and try to protect it, but if p.haul is<br>
> > > > python3 only then I'll avoid doing that :)<br>
> > ><br>
> > > Well, I use 2.7, presumably everybody else at Odin does the same :)<br>
> > ><br>
> > > If you think that the easier way to go is to patch p.haul to work on<br>
> > > python3, you're welcome ;)<br>
> ><br>
> > Euh. So I don't think it would actually be that hard, but we do need<br>
> > protobuf (p.haul imports crit, which imports protobufs), and as near<br>
> > as I can tell, google isn't interested in porting python's protobuf<br>
> > libraries to python3:<br>
> ><br>
> > <a href="https://github.com/BVLC/caffe/issues/293" rel="noreferrer" target="_blank">https://github.com/BVLC/caffe/issues/293</a><br>
> ><br>
> > it might be possible with some hacks it looks like, but I'd hate to<br>
> > rely on those. There is an out of tree LXC binding for python2, but it<br>
> > is not well maintained. I wonder if fork + exec is the best option<br>
> > here. :(<br>
> ><br>
> > Tycho<br>
> > _______________________________________________<br>
> > CRIU mailing list<br>
> > <a href="mailto:CRIU@openvz.org">CRIU@openvz.org</a><br>
> > <a href="https://lists.openvz.org/mailman/listinfo/criu" rel="noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/criu</a><br>
> ><br>
</div></div></blockquote></div><br></div></div>