[openstack-dev] unable to run tox due to the '--pre' argument

Monty Taylor mordred at inaugust.com
Mon Sep 23 14:23:53 UTC 2013



On 09/23/2013 12:14 AM, Zhongyue Luo wrote:
> Looks like this problem happens in systems that use pip<1.4 but upgraded
> tox to 1.6.1
> 
> http://tox.readthedocs.org/en/latest/config.html#confval-install_command=ARGV

Yes. We have been rolling out tox.ini changes to projects. I'll push one
up for neutronclient right now...

https://review.openstack.org/47848

This change should essentially be ported in to all projects. I'm getting
to it slowly, but if other people want to step up and do that too, I'd
welcome the help!

> On Fri, Sep 20, 2013 at 12:47 AM, Jeremy Stanley <fungi at yuggoth.org
> <mailto:fungi at yuggoth.org>> wrote:
> 
>     On 2013-09-19 09:24:08 +0800 (+0800), Yongsheng Gong wrote:
>     [...]
>     > I upgrade the pip into 1.4.1:
>     >
>     > gongysh at gongysh-ThinkPad-T530:/opt/stack/python-neutronclient$
>     > .tox/py27/bin/pip install -U pip
>     > gongysh at gongysh-ThinkPad-T530:/opt/stack/python-neutronclient$
>     > .tox/py27/bin/pip  --version
>     > pip 1.4.1 from /mnt/data/opt/stack/python-neutronclient/.tox/py27
>     > /lib/python2.7/site-packages (python 2.7)
>     [...]
>     > Then I run tox -e py27 and it failed:
>     [...]
>     > I check the pip version in .tox:
>     > gongysh at gongysh-ThinkPad-T530:/mnt/data/opt/stack/
>     > python-neutronclient$  .tox/py27/bin/pip --version
>     > pip 1.3.1 from /mnt/data/opt/stack/python-neutronclient/.tox/py27
>     > /lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (python 2.7)
>     >
>     > It is changed back!!!
> 
>     I've tried to reproduce this and it doesn't seem to happen for me.
>     Using tox 1.6.1 to run 'tox -e py27' in a current checkout of
>     python-neutronclient's master branch automatically installs pip
>     1.4.1 in the virtualenv it creates. Can you try this on another
>     machine/vm just for confirmation? Clark also suggested on IRC just
>     now that maybe you have some global tox configuration specifying to
>     always recreate the virtualenv (essentially -r) and that its
>     populating it with your system-installed version or perhaps an older
>     cached download.
>     --
>     Jeremy Stanley
> 
>     _______________________________________________
>     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
> 
> 
> 
> 
> -- 
> *Intel SSG/STOD/DCST/CIT*
> 880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai,
> China
> +862161166500
> 
> 
> _______________________________________________
> 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