From 65a04bae64dab0984c9c32ce429c4c235cb5aacd Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Wed, 11 Dec 2013 09:18:01 -0800 Subject: [PATCH] Don't install pre-release software with tox Override the tox pip install command to avoid using the "--pre" option which is the default in tox. "--pre" means "Include pre-release and development versions." By default, pip will only install stable versions of software, and that is the behavior we want. Change-Id: Ida5e440d1bdb9f8e9031277ea53a02d2ef171438 Co-Authored-By: Monty Taylor --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 8a3cda1c2..a8c6790e1 100644 --- a/tox.ini +++ b/tox.ini @@ -5,6 +5,7 @@ envlist = py26,py27,py33,pep8 [testenv] usedevelop = True +install_command = pip install -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en