<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 13, 2013 at 6:56 PM, Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Excerpts from Alex Gaynor's message of 2013-08-13 14:58:56 -0700:<br>


<div class="im">> Hi all,<br>
><br>
> (This references this changeset: <a href="https://review.openstack.org/#/c/38415/" target="_blank">https://review.openstack.org/#/c/38415/</a>)<br>
><br>
> One of the goals I've been working at has been getting swift running on<br>
> PyPy (and from there, the rest of OpenStack). The last blocking issue in<br>
> swift is that it currently uses netifaces, which is a C-extension that<br>
> doesn't on PyPy. I've proposed to replace this dependency with a cffi based<br>
> binding to the system.<br></div></blockquote><div><br></div><div>I assume you have seen <a href="http://vish.everyone.me/running-openstack-nova-with-pypy">http://vish.everyone.me/running-openstack-nova-with-pypy</a><br>

</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">
><br>
> For those not familiar, cffi is a tool for binding to C libraries, similar<br>
> to ctypes (in the stdlib), except more expressive, less error prone, and<br>
> faster; some of our downstream dependencies already use it.<br>
><br>
> One of the issues that came up in this review however, is that cffi is not<br>
> packaged in the most recent Ubuntu LTS (and likely other distributions),<br>
> although it is available in raring, and in a PPA (<br>
> <a href="http://packages.ubuntu.com/raring/python-cffi" target="_blank">http://packages.ubuntu.com/raring/python-cffi</a> and<br>
> <a href="https://launchpad.net/~pypy/+archive/ppa?field.series_filter=preciserespectively" target="_blank">https://launchpad.net/~pypy/+archive/ppa?field.series_filter=preciserespectively</a>).<br>
><br>
> As a result of this, we wanted to get some feedback on which direction is<br>
> best to go:<br>
><br>
> a) cffi-only approach, this is obviously the simplest approach, and works<br>
> everywhere (assuming you can install a PPA, use pip, or similar for cffi)<br>
<br>
</div>There are a lot of dependencies of Grizzly and Havana that aren't in<br>
the official release of Ubuntu 12.04. That is why Canonical created<br>
the cloud archive, so that users can keep everything that isn't<br>
"OpenStack+Dependencies" on the LTS.<br>
<br>
The fact that cffi is already available in a release makes it even<br>
more likely that it will be a straight forward backport to the cloud<br>
archive. However, is Ubuntu 12.04's pypy 1.8 sufficient?  Ubuntu 13.04<br>
and 12.10 have 1.9, and saucy (the presumed 13.10) has 2.0.2.<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div></div>