[openstack-dev] why do we use pip -U in tox.ini?

Jay Pipes jaypipes at gmail.com
Sun Jan 5 16:01:33 UTC 2014


On Sun, 2014-01-05 at 10:47 -0500, Sean Dague wrote:
> While waiting some inordinate amount of time to compile lxml for a 
> tempest pep8 test, I started to wonder why is it that we are using -U on 
> all our pip install commands in tox (it's a pretty common pattern across 
> projects).
> 
> It seems like requirements should be sufficient. Forcing -U to the 
> latest all the time seems like it would actually mask a ton of problems, 
> and makes sitepackages = True to be largely useless.
> 
> I'm sure it went in for a reason, so I'd love to understand the reason, 
> to make sure that my instinct in disabling it in Tempest doesn't have a 
> ton of side effects.

+1 to removing it. Makes runtime of tests longer as well...

-jay




More information about the OpenStack-dev mailing list