<div dir="ltr">+filbranden@<div><br></div><div>Hi Tycho,</div><div><br></div><div>I was surprised by the comment, so I asked around...  Apparently, t<span style="font-size:12.8px">hat comment (<a href="https://github.com/BVLC/caffe/issues/293">https://github.com/BVLC/caffe/issues/293</a>) is about </span><span style="font-size:12.8px">no plans to support Python 3 for caffee.  This has nothing to do with Google not supporting protobuf in Python 3.  In fact, g</span><span style="font-size:12.8px">RPC (<a href="https://github.com/grpc/grpc">https://github.com/grpc/grpc</a>) which will support Python 2.7 and Python 3.4 requires protobuf.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">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.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">--Saied</span></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 20, 2015 at 10:11 AM, Tycho Andersen <span dir="ltr">&lt;<a href="mailto:tycho.andersen@canonical.com" target="_blank">tycho.andersen@canonical.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Oct 20, 2015 at 10:20:35AM +0300, Pavel Emelyanov wrote:<br>
&gt; On 10/20/2015 12:40 AM, Tycho Andersen wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m curious as to what versions of python p.haul will (does) support.<br>
&gt; &gt; I&#39;d like to use the in-tree LXC API, but it is python3 only. I can put<br>
&gt; &gt; some import guards around this and try to protect it, but if p.haul is<br>
&gt; &gt; python3 only then I&#39;ll avoid doing that :)<br>
&gt;<br>
&gt; Well, I use 2.7, presumably everybody else at Odin does the same :)<br>
&gt;<br>
&gt; If you think that the easier way to go is to patch p.haul to work on<br>
&gt; python3, you&#39;re welcome ;)<br>
<br>
Euh. So I don&#39;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&#39;t interested in porting python&#39;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&#39;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>
</blockquote></div><br></div>