Re: [openstack-dev] OK to Use Flufl.enum

2013-12-10 Thread Alex Gaynor
from flufl.enum import IntEnum class A(IntEnum): ... a = 3 ... A.a EnumValue: A.a [value=3] Alex On Tue, Dec 10, 2013 at 8:23 AM, Jay Pipes jaypi...@gmail.com wrote: On 12/10/2013 09:55 AM, Adam Young wrote: On 12/10/2013 05:24 AM, Flavio Percoco wrote: On 09/12/13 19:45 -0800, Alex

Re: [openstack-dev] OK to Use Flufl.enum

2013-12-09 Thread Alex Gaynor
Would it make sense to use the `enum34` package, which is a backport of teh enum package from py3k? Alex On Mon, Dec 9, 2013 at 7:37 PM, Adam Young ayo...@redhat.com wrote: While Python 3 has enumerated types, Python 2 does not, and the standard package to provide id, Flufl.enum, is not yet

Re: [openstack-dev] Top Gate Bugs

2013-11-20 Thread Alex Gaynor
Nope, you're totally right, corolocal.local is a class, whose instances are the actual coroutine local storage. Alex On Wed, Nov 20, 2013 at 9:11 AM, Roman Podoliaka rpodoly...@mirantis.comwrote: Hey all, I think I found a serious bug in our usage of eventlet thread local storage. Please

Re: [openstack-dev] [Solum] SFO Design Workshop

2013-11-18 Thread Alex Gaynor
It's worth noting that right now, just a few blocks from the office DreamForce is going on, so it's going to be crowded, I strongly recommend avoiding driving if you can. Alex On Mon, Nov 18, 2013 at 9:50 AM, Adrian Otto adrian.o...@rackspace.comwrote: No, it does not have any parking. I

Re: [openstack-dev] Announce of Rally - benchmarking system for OpenStack

2013-10-20 Thread Alex Gaynor
There's several issues involved in doing automated regression checking for benchmarks: - You need a platform which is stable. Right now all our CI runs on virtualized instances, and I don't think there's any particular guarantee it'll be the same underlying hardware, further virtualized systems

Re: [openstack-dev] Python-coverage: path change from /usr/bin/coverage to /usr/bin/python-coverage

2013-10-16 Thread Alex Gaynor
It seems to me the much easier solution is to just always install coverage.py into a virtualenv, then we don't have to worry at all about operating-system politics. Alex On Wed, Oct 16, 2013 at 6:05 AM, Thomas Goirand z...@debian.org wrote: Hi there, It appears that in Debian,

Re: [openstack-dev] When will we stop adding new Python modules to requirements

2013-09-15 Thread Alex Gaynor
Falcon was included as a result of Marconi moving from stackforge to being incubated. sphinxcontrib-programoutput doesn't appear to have been added at all, it's still under review: https://review.openstack.org/#/c/46325/ Alex On Sun, Sep 15, 2013 at 11:39 AM, Morgan Fainberg m...@metacloud.com

Re: [openstack-dev] OpenStack + PyPy: Status and goals

2013-09-15 Thread Alex Gaynor
without major modifications, maybe u know of such a documentation that explains this. I'd be interested in reading that at least (maybe others would like to also). :-) -Josh -- *From:* Alex Gaynor [alex.gay...@gmail.com] *Sent:* Tuesday, September 10, 2013 8:18 AM

Re: [openstack-dev] OpenStack + PyPy: Status and goals

2013-09-10 Thread Alex Gaynor
) Thanks, Roman On Tue, Sep 10, 2013 at 12:28 AM, Alex Gaynor alex.gay...@gmail.comwrote: Hi all, Many of you have probably seen me send review requests in the last few weeks about adding PyPy support to various OpenStack projects. A few people were confused by these, so I wanted to fill

Re: [openstack-dev] [OpenStack-dev] Rechecks and Reverifies

2013-08-27 Thread Alex Gaynor
I wonder if there's any sort of automation we can apply to this, for example having known rechecks have signatures and if a failure matches the signature it auto applies the recheck. Alex On Tue, Aug 27, 2013 at 9:18 AM, John Griffith john.griff...@solidfire.comwrote: This message has gone

Re: [openstack-dev] [OpenStack-dev] Rechecks and Reverifies

2013-08-27 Thread Alex Gaynor
John Griffith's message of 2013-08-27 09:42:37 -0700: On Tue, Aug 27, 2013 at 10:26 AM, Alex Gaynor alex.gay...@gmail.com wrote: I wonder if there's any sort of automation we can apply to this, for example having known rechecks have signatures and if a failure matches the signature

Re: [openstack-dev] proposing Alex Gaynor for core on openstack/requirements

2013-08-20 Thread Alex Gaynor
Thanks everyone, I look forward to continuing to help out! Alex On Tue, Aug 20, 2013 at 9:49 AM, Doug Hellmann doug.hellm...@dreamhost.comwrote: Without any objections, I've added Alex Gaynor to the requirements-core team. Welcome, Alex! On Sat, Aug 17, 2013 at 2:46 PM, Jeremy Stanley

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

2013-08-19 Thread Alex Gaynor
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.gay...@gmail.com Reply-To: OpenStack List openstack-dev@lists.openstack.org Date: Wednesday, August 14, 2013 12:12 PM To: openst

Re: [openstack-dev] Gate breakage process - Let's fix! (related but not specific to neutron)

2013-08-16 Thread Alex Gaynor
I'd strongly agree with that, a project must always be gated by any tests for it, even if they don't gate for other projects. I'd also argue that any time there's a non-gating test (for any project) it needs a formal explanation of why it's not gating yet, what the plan to get it to gating is, and

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

2013-08-14 Thread Alex Gaynor
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 openst...@nemebean.com wrote: On 2013-08-13 16:58, Alex Gaynor wrote: One of the issues that came

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

2013-08-13 Thread Alex Gaynor
Hi all, (This references this changeset: https://review.openstack.org/#/c/38415/) 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

Re: [openstack-dev] Dropping or weakening the 'only import modules' style guideline - H302

2013-08-05 Thread Alex Gaynor
I'd favor weakening or removing this requirement. Besides google I've never seen any other python project which enforced this standard, and I think it's a very weak heuristic for readability. Alex On Mon, Aug 5, 2013 at 7:26 PM, Robert Collins robe...@robertcollins.netwrote: I wanted to get a

Re: [openstack-dev] Usage of mox through out the Openstack project.

2013-07-24 Thread Alex Gaynor
I think moving towards mock is a better long term strategy: a) I don't you're correct that it's the most familiar for most python developers. By PyPi installs (A TERRIBLE METRIC, but it's all we have). Mock has 24k in the last week, mox has 3.5k b) mock is a part of the standard library starting

Re: [openstack-dev] pip requirements externally host (evil evil stab stab stab)

2013-07-22 Thread Alex Gaynor
As a heads up I filed bugs with each of these projects (with the exception of netifaces, which doesn't appear to have a tracker). The dnspython maintainer has already uploaded the package to PyPi and disabled scraping! Alex On Fri, Jul 19, 2013 at 8:04 PM, Monty Taylor mord...@inaugust.com

Re: [openstack-dev] pip requirements externally host (evil evil stab stab stab)

2013-07-20 Thread Alex Gaynor
netifaces is also used in swift for the whataremyips function. (Personaly I'd love to replace that as it doesn't work on PyPy, but that's a rather different conversation :)) Alex On Sat, Jul 20, 2013 at 9:10 AM, Salvatore Orlando sorla...@nicira.comwrote: I reckon the netifaces package is