Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-10 Thread Doug Hellmann
On Sep 10, 2014, at 4:34 PM, Yuriy Taraday wrote: > > > On Tue, Sep 9, 2014 at 9:58 PM, Doug Hellmann wrote: > > On Sep 9, 2014, at 10:51 AM, Sean Dague wrote: > > > On 09/09/2014 10:41 AM, Doug Hellmann wrote: > >> > >> On Sep 8, 2014, at 8:18 PM, James E. Blair wrote: > >> > >>> Sean Da

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-10 Thread Yuriy Taraday
On Tue, Sep 9, 2014 at 9:58 PM, Doug Hellmann wrote: > > On Sep 9, 2014, at 10:51 AM, Sean Dague wrote: > > > On 09/09/2014 10:41 AM, Doug Hellmann wrote: > >> > >> On Sep 8, 2014, at 8:18 PM, James E. Blair wrote: > >> > >>> Sean Dague writes: > >>> > The crux of the issue is that zookee

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-09 Thread Doug Hellmann
On Sep 9, 2014, at 10:51 AM, Sean Dague wrote: > On 09/09/2014 10:41 AM, Doug Hellmann wrote: >> >> On Sep 8, 2014, at 8:18 PM, James E. Blair wrote: >> >>> Sean Dague writes: >>> The crux of the issue is that zookeeper python modules are C extensions. So you have to either instal

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-09 Thread Sean Dague
On 09/09/2014 10:41 AM, Doug Hellmann wrote: > > On Sep 8, 2014, at 8:18 PM, James E. Blair wrote: > >> Sean Dague writes: >> >>> The crux of the issue is that zookeeper python modules are C extensions. >>> So you have to either install from packages (which we don't do in unit >>> tests) or ins

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-09 Thread Doug Hellmann
On Sep 8, 2014, at 8:18 PM, James E. Blair wrote: > Sean Dague writes: > >> The crux of the issue is that zookeeper python modules are C extensions. >> So you have to either install from packages (which we don't do in unit >> tests) or install from pip, which means forcing zookeeper dev packag

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-09 Thread Sean Dague
On 09/08/2014 08:18 PM, James E. Blair wrote: > Sean Dague writes: > >> The crux of the issue is that zookeeper python modules are C extensions. >> So you have to either install from packages (which we don't do in unit >> tests) or install from pip, which means forcing zookeeper dev packages >> l

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-08 Thread Monty Taylor
On 09/05/2014 07:21 AM, Monty Taylor wrote: On 09/05/2014 06:32 AM, Sean Dague wrote: While reviewing this zookeeper service group fix in Nova - https://review.openstack.org/#/c/102639/ it was exposed that the zookeeper tests aren't running in infra. The crux of the issue is that zookeeper pyth

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-08 Thread James E. Blair
Sean Dague writes: > The crux of the issue is that zookeeper python modules are C extensions. > So you have to either install from packages (which we don't do in unit > tests) or install from pip, which means forcing zookeeper dev packages > locally. Realistically this is the same issue we end up

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-06 Thread Joshua Harlow
There was a review once that tried to move the evzookeeper to using kazoo, perhaps that can get reprioritzed?? https://review.openstack.org/#/c/28951/ Sent from my really tiny device... > On Sep 5, 2014, at 6:36 AM, "Sean Dague" wrote: > > While reviewing this zookeeper service group fix in N

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread Amit Das
I too agree this can be useful beyond openstack. It will great if one of you (experts) can explain in more details how the python virtual environment is heavyweight than docker containers. I am just a user of devstack without the nitty gritty details of its inner workings. However, I can say that

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread Sean Dague
On 09/05/2014 12:05 PM, Chris Dent wrote: > On Fri, 5 Sep 2014, Monty Taylor wrote: > >> The tl;dr is "it's like tox, except it uses docker instead of >> virtualenv" - which means we can express all of our requirements, not >> just pip ones. > > Oh thank god[1]. > > Seriously. > > jogo started

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread Chris Dent
On Fri, 5 Sep 2014, Monty Taylor wrote: The tl;dr is "it's like tox, except it uses docker instead of virtualenv" - which means we can express all of our requirements, not just pip ones. Oh thank god[1]. Seriously. jogo started a thread about "what matters for kilo" and I was going to respon

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread David Shrewsbury
I agree with Flavio. This looks really cool, and I had a very similar idea recently. I'll try to find some time to give this a whirl. -Dave On Fri, Sep 5, 2014 at 10:37 AM, Flavio Percoco wrote: > On 09/05/2014 04:21 PM, Monty Taylor wrote: > > On 09/05/2014 06:32 AM, Sean Dague wrote: > >> Wh

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread Flavio Percoco
On 09/05/2014 04:21 PM, Monty Taylor wrote: > On 09/05/2014 06:32 AM, Sean Dague wrote: >> While reviewing this zookeeper service group fix in Nova - >> https://review.openstack.org/#/c/102639/ it was exposed that the >> zookeeper tests aren't running in infra. >> >> The crux of the issue is that z

Re: [openstack-dev] how to provide tests environments for python things that require C extensions

2014-09-05 Thread Monty Taylor
On 09/05/2014 06:32 AM, Sean Dague wrote: While reviewing this zookeeper service group fix in Nova - https://review.openstack.org/#/c/102639/ it was exposed that the zookeeper tests aren't running in infra. The crux of the issue is that zookeeper python modules are C extensions. So you have to e