<div dir="ltr">Looks like this problem happens in systems that use pip<1.4 but upgraded tox to 1.6.1<br><br><a href="http://tox.readthedocs.org/en/latest/config.html#confval-install_command=ARGV">http://tox.readthedocs.org/en/latest/config.html#confval-install_command=ARGV</a><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Sep 20, 2013 at 12:47 AM, Jeremy Stanley <span dir="ltr"><<a href="mailto:fungi@yuggoth.org" target="_blank">fungi@yuggoth.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 2013-09-19 09:24:08 +0800 (+0800), Yongsheng Gong wrote:<br>
[...]<br>
</div><div class="im">> I upgrade the pip into 1.4.1:<br>
><br>
> gongysh@gongysh-ThinkPad-T530:/opt/stack/python-neutronclient$<br>
> .tox/py27/bin/pip install -U pip<br>
> gongysh@gongysh-ThinkPad-T530:/opt/stack/python-neutronclient$<br>
> .tox/py27/bin/pip  --version<br>
> pip 1.4.1 from /mnt/data/opt/stack/python-neutronclient/.tox/py27<br>
> /lib/python2.7/site-packages (python 2.7)<br>
</div>[...]<br>
<div class="im">> Then I run tox -e py27 and it failed:<br>
</div>[...]<br>
<div class="im">> I check the pip version in .tox:<br>
> gongysh@gongysh-ThinkPad-T530:/mnt/data/opt/stack/<br>
</div><div class="im">> python-neutronclient$  .tox/py27/bin/pip --version<br>
> pip 1.3.1 from /mnt/data/opt/stack/python-neutronclient/.tox/py27<br>
</div><div class="im">> /lib/python2.7/site-packages/pip-1.3.1-py2.7.egg (python 2.7)<br>
><br>
> It is changed back!!!<br>
<br>
</div>I've tried to reproduce this and it doesn't seem to happen for me.<br>
Using tox 1.6.1 to run 'tox -e py27' in a current checkout of<br>
python-neutronclient's master branch automatically installs pip<br>
1.4.1 in the virtualenv it creates. Can you try this on another<br>
machine/vm just for confirmation? Clark also suggested on IRC just<br>
now that maybe you have some global tox configuration specifying to<br>
always recreate the virtualenv (essentially -r) and that its<br>
populating it with your system-installed version or perhaps an older<br>
cached download.<br>
<div class="HOEnZb"><div class="h5">--<br>
Jeremy Stanley<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div><b>Intel SSG/STOD/DCST/CIT</b></div>
<div>880 Zixing Road, Zizhu Science Park, Minhang District, 200241, Shanghai, 
China<br></div>
<div>+862161166500</div></div>
</div>