[openstack-dev] Swift, netifaces, PyPy, and cffi

Alex Gaynor alex.gaynor at gmail.com
Mon Aug 19 22:49:48 UTC 2013


So, in what can only be described as "extremely embarrassing" and "wow, I
thought I knew how to use a computer": netifaces appears to work ok under
PyPy! I could have sworn I'd tested it, but apparently not. So, this is no
longer a high priority item for me to get swift on pypy (in fact, +/-
 eventlet and pypy releases, the test suite at least all passes!).

I still think long term ditching netifaces is a good idea since it doesn't
really appear to be maintained, but that's a different issue. Since code
churn scares me I'm going to stop really pursuing this, the patch will
always be there if anyone else is excited about this, and maybe someday
I'll get the round tuits to do it myself :)

Alex


On Wed, Aug 14, 2013 at 5:17 PM, Vishvananda Ishaya
<vishvananda at gmail.com>wrote:

>
> On Aug 14, 2013, at 11:12 AM, Jarret Raim <jarret.raim at RACKSPACE.COM>
> wrote:
>
>  I vote for including cffi. We are going to use a cffi lib as part of
> Barbican (key management) anyway, so I'd like to see wider acceptance.
>
>  Jarret
>
>
> +1
>
> cffi rocks
>
> Vish
>
>
>   From: Alex Gaynor <alex.gaynor at gmail.com>
> Reply-To: OpenStack List <openstack-dev at lists.openstack.org>
> Date: Wednesday, August 14, 2013 12:12 PM
> To: "openstack at nemebean.com" <openstack at nemebean.com>, OpenStack List <
> openstack-dev at lists.openstack.org>
> Subject: Re: [openstack-dev] Swift, netifaces, PyPy, and cffi
>
>   I just chatted with the Python product owner at Red Hat, he says this
> is going to make it's way to the next step later today (this past weekend
> was a Fedora conference), so this should be happening soon.
>
>  Joe: Yup, I'm familiar with that piece (I had lunch with Vish the other
> week and he's the one who suggested Swift as the best place to get started
> with OpenStack + PyPy). For those who don't know I'm one of the core
> developers of PyPy :)
>
>  Alex
>
>
>
> On Wed, Aug 14, 2013 at 9:24 AM, Ben Nemec <openstack at nemebean.com> wrote:
>
>> On 2013-08-13 16:58, Alex Gaynor wrote:
>>
>>> 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
>>>  (http://packages.ubuntu.com/**raring/python-cffi<http://packages.ubuntu.com/raring/python-cffi>[2]
>>>  nd https://launchpad.net/~**pypy/+archive/ppa?field.**
>>> series_filter=precise<https://launchpad.net/~pypy/+archive/ppa?field.series_filter=precise>
>>> [3] respectively).
>>>
>>>
>>> As a result of this, we wanted to get some feedback on which direction
>>> is best to go:
>>>
>>> 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)
>>> b) wait until the next LTS to move to this approach (requires waiting
>>> until 2014 for PyPy support)
>>> 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.
>>>
>>
>> It doesn't appear to me that this is available for RHEL yet, although it
>> looks like they're working on it: https://admin.fedoraproject.**
>> org/updates/python-cffi-0.6-4.**el6<https://admin.fedoraproject.org/updates/python-cffi-0.6-4.el6>
>>
>> That's also going to need to happen before we can do this, I think.
>>
>> -Ben
>>
>>
>> ______________________________**_________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.**org <OpenStack-dev at lists.openstack.org>
>> http://lists.openstack.org/**cgi-bin/mailman/listinfo/**openstack-dev<http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev>
>>
>
>
>
>  --
> "I disapprove of what you say, but I will defend to the death your right
> to say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
> "The people's good is the highest law." -- Cicero
> GPG Key fingerprint: 125F 5C67 DFE9 4084
>    _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
"I disapprove of what you say, but I will defend to the death your right to
say it." -- Evelyn Beatrice Hall (summarizing Voltaire)
"The people's good is the highest law." -- Cicero
GPG Key fingerprint: 125F 5C67 DFE9 4084
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130819/ab9b4bd4/attachment.html>


More information about the OpenStack-dev mailing list