Skip to content

Instantly share code, notes, and snippets.

@lmorchard
Created August 22, 2013 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lmorchard/6310337 to your computer and use it in GitHub Desktop.
Save lmorchard/6310337 to your computer and use it in GitHub Desktop.
tox errors on django-badger
GLOB sdist-make: /Users/lmorchard/devel/mozilla/django-badger/setup.py
py26_dj14 inst-nodeps: /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip
ERROR: invocation failed, logfile: /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/log/py26_dj14-3.log
ERROR: actionid=py26_dj14
msg=installpkg
cmdargs=[local('/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/bin/pip'), 'install', '--pre', '/Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip', '-U', '--no-deps']
env={'PYTHONIOENCODING': 'utf_8', 'LESS': '-XRF', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'LC_CTYPE': 'en_US.UTF-8', 'TMPDIR': '/var/folders/9k/7vwks0gs4nggpjzzz48n_k000000gn/T/', 'LOGNAME': 'lmorchard', 'USER': 'lmorchard', 'PATH': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/bin:/usr/local/heroku/bin:node_modules/.bin:/Users/lmorchard/.local/bin:/usr/local/bin:/Users/lmorchard/Applications:/Applications:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin', 'HOME': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/tmp/pseudo-home', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/zsh', 'COLORFGBG': '15;0', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '1', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'SECURITYSESSIONID': '186a5', 'ITERM_SESSION_ID': 'w0t3p1', 'EDITOR': '/Applications/MacVim.app/Contents/MacOS/Vim -g -c "au VimLeave * maca hide:" -f', 'MANPATH': '/Users/lmorchard/.local/man:/opt/local/man:/usr/local/man:', 'GREP_COLOR': '1;32', 'SSH_AUTH_SOCK': '/tmp/launch-p29sn5/Listeners', 'Apple_PubSub_Socket_Render': '/tmp/launch-V2KQyb/Render', 'ITERM_PROFILE': 'Default', '_': '/usr/local/bin/tox', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'OLDPWD': '/Users/lmorchard', 'CLICOLOR': 'y', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'Apple_Ubiquity_Message': '/tmp/launch-qHHUxv/Apple_Ubiquity_Message', 'PWD': '/Users/lmorchard/devel/mozilla/django-badger', 'GREP_OPTIONS': '--color=auto', 'PAGER': 'less', 'COMMAND_MODE': 'unix2003'}
Usage:
pip install [options] <requirement specifier> ...
pip install [options] -r <requirements file> ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --pre
py27_dj14 inst-nodeps: /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip
ERROR: invocation failed, logfile: /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/log/py27_dj14-3.log
ERROR: actionid=py27_dj14
msg=installpkg
cmdargs=[local('/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/bin/pip'), 'install', '--pre', '/Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip', '-U', '--no-deps']
env={'PYTHONIOENCODING': 'utf_8', 'LESS': '-XRF', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'LC_CTYPE': 'en_US.UTF-8', 'TMPDIR': '/var/folders/9k/7vwks0gs4nggpjzzz48n_k000000gn/T/', 'LOGNAME': 'lmorchard', 'USER': 'lmorchard', 'PATH': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/bin:/usr/local/heroku/bin:node_modules/.bin:/Users/lmorchard/.local/bin:/usr/local/bin:/Users/lmorchard/Applications:/Applications:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin', 'HOME': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/tmp/pseudo-home', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/zsh', 'COLORFGBG': '15;0', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '1', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'SECURITYSESSIONID': '186a5', 'ITERM_SESSION_ID': 'w0t3p1', 'EDITOR': '/Applications/MacVim.app/Contents/MacOS/Vim -g -c "au VimLeave * maca hide:" -f', 'MANPATH': '/Users/lmorchard/.local/man:/opt/local/man:/usr/local/man:', 'GREP_COLOR': '1;32', 'SSH_AUTH_SOCK': '/tmp/launch-p29sn5/Listeners', 'Apple_PubSub_Socket_Render': '/tmp/launch-V2KQyb/Render', 'ITERM_PROFILE': 'Default', '_': '/usr/local/bin/tox', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'OLDPWD': '/Users/lmorchard', 'CLICOLOR': 'y', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'Apple_Ubiquity_Message': '/tmp/launch-qHHUxv/Apple_Ubiquity_Message', 'PWD': '/Users/lmorchard/devel/mozilla/django-badger', 'GREP_OPTIONS': '--color=auto', 'PAGER': 'less', 'COMMAND_MODE': 'unix2003'}
Usage:
pip install [options] <requirement specifier> ...
pip install [options] -r <requirements file> ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --pre
py26_dj15 inst-nodeps: /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip
ERROR: invocation failed, logfile: /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/log/py26_dj15-3.log
ERROR: actionid=py26_dj15
msg=installpkg
cmdargs=[local('/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/bin/pip'), 'install', '--pre', '/Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip', '-U', '--no-deps']
env={'PYTHONIOENCODING': 'utf_8', 'LESS': '-XRF', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'LC_CTYPE': 'en_US.UTF-8', 'TMPDIR': '/var/folders/9k/7vwks0gs4nggpjzzz48n_k000000gn/T/', 'LOGNAME': 'lmorchard', 'USER': 'lmorchard', 'PATH': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/bin:/usr/local/heroku/bin:node_modules/.bin:/Users/lmorchard/.local/bin:/usr/local/bin:/Users/lmorchard/Applications:/Applications:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin', 'HOME': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/tmp/pseudo-home', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/zsh', 'COLORFGBG': '15;0', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '1', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'SECURITYSESSIONID': '186a5', 'ITERM_SESSION_ID': 'w0t3p1', 'EDITOR': '/Applications/MacVim.app/Contents/MacOS/Vim -g -c "au VimLeave * maca hide:" -f', 'MANPATH': '/Users/lmorchard/.local/man:/opt/local/man:/usr/local/man:', 'GREP_COLOR': '1;32', 'SSH_AUTH_SOCK': '/tmp/launch-p29sn5/Listeners', 'Apple_PubSub_Socket_Render': '/tmp/launch-V2KQyb/Render', 'ITERM_PROFILE': 'Default', '_': '/usr/local/bin/tox', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'OLDPWD': '/Users/lmorchard', 'CLICOLOR': 'y', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'Apple_Ubiquity_Message': '/tmp/launch-qHHUxv/Apple_Ubiquity_Message', 'PWD': '/Users/lmorchard/devel/mozilla/django-badger', 'GREP_OPTIONS': '--color=auto', 'PAGER': 'less', 'COMMAND_MODE': 'unix2003'}
Usage:
pip install [options] <requirement specifier> ...
pip install [options] -r <requirements file> ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --pre
py27_dj15 inst-nodeps: /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip
ERROR: invocation failed, logfile: /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/log/py27_dj15-3.log
ERROR: actionid=py27_dj15
msg=installpkg
cmdargs=[local('/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/bin/pip'), 'install', '--pre', '/Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip', '-U', '--no-deps']
env={'PYTHONIOENCODING': 'utf_8', 'LESS': '-XRF', 'VERSIONER_PYTHON_PREFER_32_BIT': 'no', 'LC_CTYPE': 'en_US.UTF-8', 'TMPDIR': '/var/folders/9k/7vwks0gs4nggpjzzz48n_k000000gn/T/', 'LOGNAME': 'lmorchard', 'USER': 'lmorchard', 'PATH': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/bin:/usr/local/heroku/bin:node_modules/.bin:/Users/lmorchard/.local/bin:/usr/local/bin:/Users/lmorchard/Applications:/Applications:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/npm/bin', 'HOME': '/Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/tmp/pseudo-home', 'TERM_PROGRAM': 'iTerm.app', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/zsh', 'COLORFGBG': '15;0', 'VERSIONER_PYTHON_VERSION': '2.7', 'SHLVL': '1', 'MACOSX_DEPLOYMENT_TARGET': '10.8', 'SECURITYSESSIONID': '186a5', 'ITERM_SESSION_ID': 'w0t3p1', 'EDITOR': '/Applications/MacVim.app/Contents/MacOS/Vim -g -c "au VimLeave * maca hide:" -f', 'MANPATH': '/Users/lmorchard/.local/man:/opt/local/man:/usr/local/man:', 'GREP_COLOR': '1;32', 'SSH_AUTH_SOCK': '/tmp/launch-p29sn5/Listeners', 'Apple_PubSub_Socket_Render': '/tmp/launch-V2KQyb/Render', 'ITERM_PROFILE': 'Default', '_': '/usr/local/bin/tox', 'LSCOLORS': 'Gxfxcxdxbxegedabagacad', 'OLDPWD': '/Users/lmorchard', 'CLICOLOR': 'y', '__CF_USER_TEXT_ENCODING': '0x1F5:0:0', 'Apple_Ubiquity_Message': '/tmp/launch-qHHUxv/Apple_Ubiquity_Message', 'PWD': '/Users/lmorchard/devel/mozilla/django-badger', 'GREP_OPTIONS': '--color=auto', 'PAGER': 'less', 'COMMAND_MODE': 'unix2003'}
Usage:
pip install [options] <requirement specifier> ...
pip install [options] -r <requirements file> ...
pip install [options] [-e] <vcs project url> ...
pip install [options] [-e] <local project path> ...
pip install [options] <archive url/path> ...
no such option: --pre
____________________________________________________________ summary _____________________________________________________________
ERROR: py26_dj14: InvocationError: /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/bin/pip install --pre /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip -U --no-deps (see /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj14/log/py26_dj14-3.log)
ERROR: py27_dj14: InvocationError: /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/bin/pip install --pre /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip -U --no-deps (see /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj14/log/py27_dj14-3.log)
ERROR: py26_dj15: InvocationError: /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/bin/pip install --pre /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip -U --no-deps (see /Users/lmorchard/devel/mozilla/django-badger/.tox/py26_dj15/log/py26_dj15-3.log)
ERROR: py27_dj15: InvocationError: /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/bin/pip install --pre /Users/lmorchard/devel/mozilla/django-badger/.tox/dist/django-badger-0.0.1.zip -U --no-deps (see /Users/lmorchard/devel/mozilla/django-badger/.tox/py27_dj15/log/py27_dj15-3.log)
@willkg
Copy link

willkg commented Aug 22, 2013

What version of pip do you have? Looks like the version you have installed doesn't have the --pre flag that tox is trying to use.

@kgaughan
Copy link

Try adding this to '[testenv]':

install_command = pip install {opts} {packages}

That'll stop tox from including the --pre flag which more recent versions of tox include.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment