Get rid of psycopg2 warnings by disabling wheels
The psycopg2 wheel package warnings are causing some tests to fail which expect there to be no stderr output. This fixes the problem by not using the wheel binary for that package. Closes-Bug: #1811876 Change-Id: Id43e74d8d343ab4e80d1d246543bada1ed4d06ad
This commit is contained in:
parent
02c26a2ced
commit
f44d07956a
3
tox.ini
3
tox.ini
@ -6,7 +6,8 @@ envlist = py26,py27,py26sa07,py27sa07,py26sa08,py27sa08,py26sa09,py27sa09,py33,p
|
|||||||
[testenv]
|
[testenv]
|
||||||
usedevelop = True
|
usedevelop = True
|
||||||
whitelist_externals = bash
|
whitelist_externals = bash
|
||||||
install_command = pip install {opts} {packages}
|
# Avoid psycopg2 wheel package rename warnings by not using the binary.
|
||||||
|
install_command = pip install --no-binary psycopg2 {opts} {packages}
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
deps = -r{toxinidir}/requirements.txt
|
deps = -r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/test-requirements.txt
|
-r{toxinidir}/test-requirements.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user