我想将我的 pip 版本升级到pip 10.0.0.dev0
github 中的 master pip 版本,就像pip install -I https://github.com/pypa/pip/archive/master.zip#egg=pip
在 tox 安装依赖项之前一样。有没有办法做到这一点?
我当前的 tox 文件如下所示
[tox]
envlist = py36
[testenv]
passenv = *
deps=
-rrequirements.txt
commands=
pip --version
pytest tests
我认为pip
在安装依赖项之前升级的方法是停止使用deps
并运行以下所有内容commands
:
[testenv]
commands=
pip install -I https://github.com/pypa/pip/archive/master.zip#egg=pip
pip install -rrequirements.txt
pytest tests
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句