<div dir="ltr">Hi all,<div><br></div><div>(This references this changeset: <a href="https://review.openstack.org/#/c/38415/">https://review.openstack.org/#/c/38415/</a>)</div><div><br></div><div>One of the goals I've been working at has been getting swift running on PyPy (and from there, the rest of OpenStack). The last blocking issue in swift is that it currently uses netifaces, which is a C-extension that doesn't on PyPy. I've proposed to replace this dependency with a cffi based binding to the system.</div>
<div><br></div><div>For those not familiar, cffi is a tool for binding to C libraries, similar to ctypes (in the stdlib), except more expressive, less error prone, and faster; some of our downstream dependencies already use it.</div>
<div><br></div><div>One of the issues that came up in this review however, is that cffi is not packaged in the most recent Ubuntu LTS (and likely other distributions), although it is available in raring, and in a PPA (<a href="http://packages.ubuntu.com/raring/python-cffi">http://packages.ubuntu.com/raring/python-cffi</a> and <a href="https://launchpad.net/~pypy/+archive/ppa?field.series_filter=precise">https://launchpad.net/~pypy/+archive/ppa?field.series_filter=precise</a> respectively).</div>
<div><br></div><div>As a result of this, we wanted to get some feedback on which direction is best to go:</div><div><br></div><div>a) cffi-only approach, this is obviously the simplest approach, and works everywhere (assuming you can install a PPA, use pip, or similar for cffi)</div>
<div>b) wait until the next LTS to move to this approach (requires waiting until 2014 for PyPy support)</div><div>c) Support using either netifaces or cffi: most complex, and most code, plus "one or the other" dependencies aren't well supported by most tools as far as I know.</div>
<div><br></div><div>Thoughts?</div><div>Alex</div><div><div><br></div>-- <br><div dir="ltr">"I disapprove of what you say, but I will defend to the death your right to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)<br>
"The people's good is the highest law." -- Cicero<br><div>GPG Key fingerprint: 125F 5C67 DFE9 4084</div></div>
</div></div>