Commit f44d0795 authored by Chih-Hsuan Yen's avatar Chih-Hsuan Yen Committed by Matt Riedemann

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
parent 02c26a2c
......@@ -6,7 +6,8 @@ envlist = py26,py27,py26sa07,py27sa07,py26sa08,py27sa08,py26sa09,py27sa09,py33,p
[testenv]
usedevelop = True
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}
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment