[openstack-dev] upgrade tox - now with less slowness!

Monty Taylor mordred at inaugust.com
Wed Sep 4 20:43:07 UTC 2013



On 09/04/2013 01:22 PM, Dolph Mathews wrote:
> 
> On Wed, Sep 4, 2013 at 10:56 AM, Monty Taylor <mordred at inaugust.com
> <mailto:mordred at inaugust.com>> wrote:
> 
>     Hey all!
> 
>     https://review.openstack.org/#/c/42178/2 has landed in nova, which means
>     that nova now requires tox 1.6 or higher (for those folks using tox).
>     We'll be wanting to port the same change to all of the projects, so if
>     you use tox for anything, you'll want to go ahead and upgrade.
> 
>     Why?
> 
>     Because we landed a patch to tox upstream to use setup.py develop
>     instead of sdist+install like our run_tests.sh scripts do - this means
>     that with the new tox config changes, tox runs should be just as quick
>     as run_tests.sh runs.
> 
>     Other than speed, it also gets more correctness, as before the process
>     ran sdist with system python, even if that wasn't the python that was to
>     be used for the test run.
> 
> 
> YAY! Can we kill run_tests.sh now?

Probably in another cycle - there are still things we need from the
testr ui that we have to punt to run_tests.sh for now. For instance,
running a single test in debug mode right now is WAY easier in run_tests.sh.

> 
>     Enjoy!
>     Monty
> 
>     _______________________________________________
>     OpenStack-dev mailing list
>     OpenStack-dev at lists.openstack.org
>     <mailto:OpenStack-dev at lists.openstack.org>
>     http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> 
> 
> -- 
> 
> -Dolph
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 



More information about the OpenStack-dev mailing list