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 wrote: > Hey all, > > I think I found a serious bug in our usage of eventlet thread local > storage. Please check out this snippe

[openstack-dev] Gate broken right now

2013-11-25 Thread Alex Gaynor
Hi all, Right now there appears to be an issue in the gate whereby all python2.6 jobs break. This is resulting in a massive amount of churn for the gate, which has it basically at a standstill. It's 1AM in the US central time, and I wasn't able to find anyone on IRC who was able to look into this

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 wrote: > While Python 3 has enumerated types, Python 2 does not, and the standard > package to provide id, Flufl.enum, is not yet part of our code

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 Alex On Tue, Dec 10, 2013 at 8:23 AM, Jay Pipes wrote: > On 12/10/2013 09:55 AM, Adam Young wrote: > >> On 12/10/2013 05:24 AM, Flavio Percoco wrote: >> &

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 wrote: > Thomas, >

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

2013-09-15 Thread Alex Gaynor
like to know how it can operate in pypy 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:* Al

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 wrote: > Hi there, > > It appears that in Debian, python-coverage provides t

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 te

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 wrote: > No, it does not have any parking. I suggest coming in on BART an

[openstack-dev] Proposal for including fake implementations in python-client packages

2013-07-01 Thread Alex Gaynor
Hi all, I suspect many of you don't know me as I've only started to get involved in OpenStack recently, I work at Rackspace and I'm pretty involved in other Python open source stuff, notably Django and PyPy, I also serve on the board of the PSF. So hi! I'd like to propose an addition to all of th

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 wrote: > I reckon the netifaces package is only used in Neutron

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 wrote: > Hey guys! > > P

Re: [openstack-dev] Python 3

2013-07-24 Thread Alex Gaynor
I believe Red Hat's new "Software Collections" things address this issue, this is to the point which Django (which has historically used RHEL as a barometer for when we could drop Pythons) will drop 2.6 in our next release. Alex On Wed, Jul 24, 2013 at 9:00 AM, Monty Taylor wrote: > > > On 07/

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 w

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 wrote: > I wanted to get a temperature reading from

[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 that

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

2013-08-14 Thread Alex Gaynor
'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 wrote: > On 2013-08-13 16:58, Alex Gaynor wrote: > >> One of t

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-19 Thread Alex Gaynor
or 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 > Reply-To: OpenStack List > Date: Wednesday,

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 wrote: > 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 St

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 wrote: > This message has gone out a number of times but I

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

2013-08-27 Thread Alex Gaynor
essage of 2013-08-27 09:42:37 -0700: >> >> On Tue, Aug 27, 2013 at 10:26 AM, Alex Gaynor >> wrote: >> >> >> >> > I wonder if there's any sort of automation we can apply to this, for >> >> > example having known rechecks have "signatu

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

2013-09-09 Thread Alex Gaynor
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 everyone in on what I'm up to :) First, for those who aren't familiar with what PyPy is: PyPy is a

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

2013-09-10 Thread Alex Gaynor
s used in > Nova, Neutron, etc) > > Thanks, > Roman > > > On Tue, Sep 10, 2013 at 12:28 AM, Alex Gaynor wrote: > >> Hi all, >> >> Many of you have probably seen me send review requests in the last few >> weeks >> about adding PyPy support to variou