diff options
author | zhaoxinyu <zhaoxinyu@huawei.com> | 2013-09-18 16:05:24 -0700 |
---|---|---|
committer | zhaoxinyu <zhaoxinyu@huawei.com> | 2013-09-18 16:41:37 -0700 |
commit | 363e564b37c2d32dfe2d92af8aa4fe8ba3fc61ba (patch) | |
tree | af5c7ab23327fb13f2b6eaf9fc6255a62db62a42 /tox.ini | |
parent | 5fea867c70849d7c5e6c52bde276d883c3f0dd67 (diff) | |
download | zuul-363e564b37c2d32dfe2d92af8aa4fe8ba3fc61ba.tar.gz |
remove --pre option from tox's pip install command
By default, tox passes --pre option to pip install commands so that
prerelease packages, which perhaps are not suitable for test,
would be installed, causing unforseeable errors. Like:
http://logs.openstack.org/33/47233/1/check/gate-zuul-docs/7b794af/console.html
whose installed Sphinx package is a beta version 2 causing the error in the log.
fungi's proposal https://review.openstack.org/#/c/47239/1 also applies here.
Change-Id: I9108b534bb469211434a4abf22b25c983aa444ba
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,4 +1,5 @@ [tox] +minversion = 1.6 envlist = pep8, pyflakes, py27 [testenv] @@ -6,6 +7,7 @@ envlist = pep8, pyflakes, py27 setenv = STATSD_HOST=localhost STATSD_PORT=8125 VIRTUAL_ENV={envdir} +install_command = pip install {opts} {packages} deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt commands = |