Skip to content

Instantly share code, notes, and snippets.

@vbabiy
Created March 18, 2011 20:00
Show Gist options
  • Save vbabiy/876732 to your computer and use it in GitHub Desktop.
Save vbabiy/876732 to your computer and use it in GitHub Desktop.
(python3.1) vbabiy@ubuntu ~/Projects/git-projects/pip [python3••] ❯❯ python setup.py test
running test
running egg_info
writing pip.egg-info/PKG-INFO
writing top-level names to pip.egg-info/top_level.txt
writing dependency_links to pip.egg-info/dependency_links.txt
writing entry points to pip.egg-info/entry_points.txt
reading manifest file 'pip.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
no previously-included directories found matching 'docs/_build/_sources'
writing manifest file 'pip.egg-info/SOURCES.txt'
running build_ext
Check we are running proper version of pip in run_pip. ... ok
Check if ``pip-<PYVERSION>`` commands behaves equally ... ok
Test the distutils-configuration-setting command (which is distinct from other commands). ... ok
Test installing a package from PyPI. ... ok
Test installing a package from the PyPI mirrors. ... ok
Test installing a package from a specific PyPI mirror. ... ok
Test editable installation. ... ok
Test checking out from svn. ... ok
Test downloading an editable using a relative custom src folder. ... ok
Test installing an editable in two steps (first with --no-install, then with --no-download). ... ok
Test installing in two steps (first with --no-install, then with --no-download). ... ok
Test that --no-download behaves sensibly if the package source can't be found. ... ok
Test using package==dev. ... ok
Test cloning from Git. ... ok
Test cloning from Mercurial. ... FAIL
Test that presence or absence of final slash in VCS URL is normalized. ... FAIL
Test checking out from Bazaar. ... ok
Test that urlquoted characters are normalized for repo URL comparison. ... ok
Test installing from a local directory. ... ok
Test installing from a local directory with no 'setup.py'. ... ok
Test installing current directory ('.'). ... ok
Test installing current directory ('.') into usersite ... ok
Test installing current directory ('.') into usersite after installing distribute ... ok
Test installing parent directory ('..'). ... ok
Test using global distutils options. ... ok
test installing from a tarball with pax header for python<2.6 ... ok
Test installing a tool using -e and --install-option ... FAIL
Test using global distutils options, but in an editable installation ... FAIL
Test installing a package with the same name of a local folder ... ok
Test installing a folder using pip install ./foldername ... ok
Test installing a folder using pip install foldername/ or foldername\ ... ok
Test installing a folder using pip install folder1/folder2 ... ok
Test installing package from pypi witch contains 'dev' in name ... ok
If a folder named e.g. 'git' is in PATH, and find_command is looking for ... ok
Test making a bundle. We'll grab one package from the filesystem ... ok
Test clean up after installing a package from PyPI. ... ok
Test clean up after cloning from Mercurial. ... FAIL
Test clean up after installing from a local directory. ... ok
Test clean up after making a bundle. Make sure (build|src)-bundle/ dirs are removed but not src/. ... ok
It should remove build/ dir if it was pip that created ... ok
It should not delete build/ if existing before run the command ... ok
Failure: ImportError (No module named test_pip) ... ERROR
Test getting completion for bash shell ... ok
Test getting completion for zsh shell ... ok
Test getting completion for an unknown shell ... ok
Test getting completion for none shell, just pip completion ... ok
Test getting completion for ``un`` should return ... ok
Test getting completion for ``--`` should contain --help ... ok
Test if ConfigOptionParser reads env vars (e.g. not using PyPI here) ... ok
Test that command line options override environmental variables. ... ok
Test command line flags that append to defaults set by environmental variables. ... ok
Test multiple appending options set by environmental variables. ... ok
Test config files (global, overriding a global config with a ... ok
Test opening a log file with no directory name. ... ok
It should download (in the scratch path) and not install if requested. ... ok
It should support download (in the scratch path) from PyPi from a requirements file ... ok
Test installing from a local index. ... ok
Test freezing a Git clone. ... ok
Test freezing a Mercurial clone. ... FAIL
Test freezing a Bazaar clone. ... ok
Test that wsgiref (from global site-packages) is reported normally, but not with --local. ... ok
Test that it translates a name like Foo-1.2 to Foo==1.3 ... ok
Check we are importing pip from the right place. ... ok
Test removing proxy from environ. ... ok
Test get_proxy returns correct proxy info. ... ok
Test installing from a requirements file. ... ok
Test installing from multiple nested requirements files. ... ok
tests.test_requirements.test_respect_order_in_requirements_file ... ok
tests.test_requirements.test_requirements_data_structure_keeps_order ... ok
tests.test_requirements.test_requirements_data_structure_implements__repr__ ... ok
tests.test_requirements.test_requirements_data_structure_implements__contains__ ... ok
Test version comparison. ... ok
Test transformation of data structures (pypi xmlrpc to custom list). ... ok
End to end test of search command. ... ok
Verify if ``pip.vcs.Search`` uses tests xmlrpclib.Transport class ... ok
Test simple install and uninstall. ... ok
Uninstall an easy_installed package with scripts. ... ok
Uninstall a distribution with a namespace package without clobbering ... ok
Test uninstalling a package with more files (console_script entry points, extra directories). ... FAIL
Test uninstalling package with console_scripts that is easy_installed. ... FAIL
Test uninstalling an editable installation from svn. ... ok
Test uninstalling editable install from existing source outside the venv. ... FAIL
Test uninstall from a requirements file. ... ok
No upgrade if not specifically requested. ... ok
It does upgrade to specific version requested. ... ok
And it does upgrade if requested. ... ok
Automatic uninstall-before-upgrade. ... ok
Automatic uninstall-before-upgrade from URL. ... ok
When installing from a URL the same version that is already installed, no ... ok
Upgrade from a requirements file. ... ok
Test uninstall-rollback (using test package with a setup.py ... ok
Test installing an editable git package from a repository, upgrading the repository, ... ok
If there is an old cached package, pip should download the newer version ... ok
Test cloning from Git with https. ... ok
Git backend should be able to install from SHA1 revisions ... ok
Git backend should be able to install from branch names ... ok
Git backend should be able to install from tag names ... ok
Test cloning a git repository and updating to a different version. ... ok
Editable installations should not change branch ... ok
Test cloning a git repository from a non-editable URL with a given tag. ... ok
Test cloning a git repository from an editable url witch contains "dev" string ... ok
Test cloning a git repository from a non-editable url witch contains "dev" string ... ok
======================================================================
ERROR: Failure: ImportError (No module named test_pip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/failure.py", line 37, in runTest
raise self.exc_class(self.exc_val).with_traceback(self.tb)
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/loader.py", line 390, in loadTestsFromName
addr.filename, addr.module)
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/importer.py", line 39, in importFromPath
return self.importFromDir(dir_path, fqname)
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/importer.py", line 86, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_compat.py", line 6, in <module>
from test_pip import reset_env, run_pip, pyversion, assert_all_changes
ImportError: No module named test_pip
======================================================================
FAIL: Test cloning from Mercurial.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_basic.py", line 235, in test_install_editable_from_hg
result.assert_installed('django-registration', with_files=['.hg'])
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 187, in assert_installed
'%r\n%s' % (egg_link_path, self))
tests.test_pip.TestFailure: expected egg link file missing: Path('.virtualenv/lib/python3.1/site-packages/django-registration.egg-link')
Script result: pip install -e hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration#egg=django-registration
return code: 1
-- stderr: --------------------
abort: couldn't find mercurial libraries in [/home/vbabiy/.virtualenvs/python3.1/bin /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/virtualenv-1.5.1-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python31.zip /home/vbabiy/.virtualenvs/python3.1/lib/python3.1 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/lib-dynload /home/vbabiy/opt/python3.1/lib/python3.1 /home/vbabiy/opt/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages /mnt/hgfs/mac_home/Projects/git-projects/pip /mnt/hgfs/mac_home/Projects/hg-projects/scripttest /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user/lib/python3.1/site-packages /home/vbabiy/opt/python3.1/lib/python3.1/site-packages]
(check your install and PYTHONPATH)
-- stdout: --------------------
Obtaining django-registration from hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration#egg=django-registration
Cloning hg file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration to /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration
Complete output from command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration:
----------------------------------------
Command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration failed with error code 255
Storing complete log in /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt
-- created: -------------------
.virtualenv/build
pip-delete-this-directory.txt (185 bytes)
src
pip-delete-this-directory.txt (185 bytes)
pip-log.txt (3016 bytes)
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test that presence or absence of final slash in VCS URL is normalized.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_basic.py", line 247, in test_vcs_url_final_slash_normalization
assert 'pip-log.txt' not in result.files_created, result.files_created['pip-log.txt'].bytes
AssertionError: Obtaining django-registration from hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/#egg=django-registration
Cloning hg file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/ to /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration
Found command 'hg' at '/home/vbabiy/.virtualenvs/python3.1/bin/hg'
Running command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/ /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration
Complete output from command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/ /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration:
----------------------------------------
Command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/ /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration failed with error code 255
Exception information:
Traceback (most recent call last):
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/basecommand.py", line 126, in main
self.run(options, args)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/commands/install.py", line 223, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/req.py", line 931, in prepare_files
req_to_install.update_editable(not self.is_download)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/req.py", line 378, in update_editable
vcs_backend.obtain(self.source_dir)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/vcs/mercurial.py", line 81, in obtain
call_subprocess([self.cmd, 'clone', '--noupdate', '-q', url, dest])
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/pip-0.8.2-py3.1.egg/pip/__init__.py", line 250, in call_subprocess
% (command_desc, proc.returncode))
pip.exceptions.InstallationError: Command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-registration/ /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/django-registration failed with error code 255
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test installing a tool using -e and --install-option
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_basic.py", line 413, in test_install_using_install_option_and_editable
'--install-option=--script-dir=%s' % folder)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 460, in run_pip
result = env.run('pip', *args, **kw)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 354, in run
return TestPipResult(super(TestPipEnvironment, self).run(cwd=cwd, *args, **kw), verbose=self.verbose)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 257, in run
result.assert_no_error(quiet)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 404, in assert_no_error
"Script returned code: %s" % self.returncode)
AssertionError: Script returned code: 1
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
Script result: pip install -e hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv#egg=virtualenv --install-option=--script-dir=script_folder
return code: 1
-- stderr: --------------------
abort: couldn't find mercurial libraries in [/home/vbabiy/.virtualenvs/python3.1/bin /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/virtualenv-1.5.1-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python31.zip /home/vbabiy/.virtualenvs/python3.1/lib/python3.1 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/lib-dynload /home/vbabiy/opt/python3.1/lib/python3.1 /home/vbabiy/opt/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages /mnt/hgfs/mac_home/Projects/git-projects/pip /mnt/hgfs/mac_home/Projects/hg-projects/scripttest /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user/lib/python3.1/site-packages /home/vbabiy/opt/python3.1/lib/python3.1/site-packages]
(check your install and PYTHONPATH)
-- stdout: --------------------
Obtaining virtualenv from hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv#egg=virtualenv
Cloning hg file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv to /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv
Complete output from command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv:
----------------------------------------
Command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv failed with error code 255
Storing complete log in /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt
-- created: -------------------
.virtualenv/build
pip-delete-this-directory.txt (185 bytes)
src
pip-delete-this-directory.txt (185 bytes)
pip-log.txt (2899 bytes)
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test using global distutils options, but in an editable installation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_basic.py", line 429, in test_install_global_option_using_editable
local_checkout(url))
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 460, in run_pip
result = env.run('pip', *args, **kw)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 354, in run
return TestPipResult(super(TestPipEnvironment, self).run(cwd=cwd, *args, **kw), verbose=self.verbose)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 257, in run
result.assert_no_error(quiet)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 404, in assert_no_error
"Script returned code: %s" % self.returncode)
AssertionError: Script returned code: 1
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
Script result: pip install --global-option=--version -e hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv#egg=virtualenv
return code: 1
-- stderr: --------------------
abort: couldn't find mercurial libraries in [/home/vbabiy/.virtualenvs/python3.1/bin /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/virtualenv-1.5.1-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python31.zip /home/vbabiy/.virtualenvs/python3.1/lib/python3.1 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/lib-dynload /home/vbabiy/opt/python3.1/lib/python3.1 /home/vbabiy/opt/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages /mnt/hgfs/mac_home/Projects/git-projects/pip /mnt/hgfs/mac_home/Projects/hg-projects/scripttest /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user/lib/python3.1/site-packages /home/vbabiy/opt/python3.1/lib/python3.1/site-packages]
(check your install and PYTHONPATH)
-- stdout: --------------------
Obtaining virtualenv from hg+file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv#egg=virtualenv
Cloning hg file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv to /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv
Complete output from command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv:
----------------------------------------
Command /home/vbabiy/.virtualenvs/python3.1/bin/hg clone --noupdate -q file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/src/virtualenv failed with error code 255
Storing complete log in /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt
-- created: -------------------
.virtualenv/build
pip-delete-this-directory.txt (185 bytes)
src
pip-delete-this-directory.txt (185 bytes)
pip-log.txt (2899 bytes)
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test clean up after cloning from Mercurial.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_cleanup.py", line 35, in test_cleanup_after_install_editable_from_hg
assert not exists(build), "build/ dir still exists: %s" % build
AssertionError: build/ dir still exists: /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/build
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test freezing a Mercurial clone.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_freeze.py", line 175, in test_freeze_mercurial_clone
'django-dbtemplates')
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 354, in run
return TestPipResult(super(TestPipEnvironment, self).run(cwd=cwd, *args, **kw), verbose=self.verbose)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 257, in run
result.assert_no_error(quiet)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 404, in assert_no_error
"Script returned code: %s" % self.returncode)
AssertionError: Script returned code: 255
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
Script result: hg clone -r f8f7eaf275c5 file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/django-dbtemplates django-dbtemplates
return code: 255
-- stderr: --------------------
abort: couldn't find mercurial libraries in [/home/vbabiy/.virtualenvs/python3.1/bin /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/virtualenv-1.5.1-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python31.zip /home/vbabiy/.virtualenvs/python3.1/lib/python3.1 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/lib-dynload /home/vbabiy/opt/python3.1/lib/python3.1 /home/vbabiy/opt/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages /mnt/hgfs/mac_home/Projects/git-projects/pip /mnt/hgfs/mac_home/Projects/hg-projects/scripttest /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user/lib/python3.1/site-packages /home/vbabiy/opt/python3.1/lib/python3.1/site-packages]
(check your install and PYTHONPATH)
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test uninstalling a package with more files (console_script entry points, extra directories).
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_uninstall.py", line 62, in test_uninstall_console_scripts
assert env.bin/'virtualenv'+env.exe in result.files_created, sorted(result.files_created.keys())
AssertionError: ['.virtualenv/build', '.virtualenv/build/pip-delete-this-directory.txt', '.virtualenv/build/virtualenv', '.virtualenv/build/virtualenv/._MANIFEST.in', '.virtualenv/build/virtualenv/MANIFEST.in', '.virtualenv/build/virtualenv/PKG-INFO', '.virtualenv/build/virtualenv/docs', '.virtualenv/build/virtualenv/docs/._index.txt', '.virtualenv/build/virtualenv/docs/index.txt', '.virtualenv/build/virtualenv/docs/news.txt', '.virtualenv/build/virtualenv/pip-egg-info', '.virtualenv/build/virtualenv/scripts', '.virtualenv/build/virtualenv/scripts/virtualenv', '.virtualenv/build/virtualenv/setup.cfg', '.virtualenv/build/virtualenv/setup.py', '.virtualenv/build/virtualenv/virtualenv.egg-info', '.virtualenv/build/virtualenv/virtualenv.egg-info/PKG-INFO', '.virtualenv/build/virtualenv/virtualenv.egg-info/SOURCES.txt', '.virtualenv/build/virtualenv/virtualenv.egg-info/dependency_links.txt', '.virtualenv/build/virtualenv/virtualenv.egg-info/entry_points.txt', '.virtualenv/build/virtualenv/virtualenv.egg-info/not-zip-safe', '.virtualenv/build/virtualenv/virtualenv.egg-info/top_level.txt', '.virtualenv/build/virtualenv/virtualenv.py', '.virtualenv/build/virtualenv/virtualenv_support', '.virtualenv/build/virtualenv/virtualenv_support/__init__.py', '.virtualenv/build/virtualenv/virtualenv_support/distribute-0.6.14.tar.gz', '.virtualenv/build/virtualenv/virtualenv_support/pip-0.8.3.tar.gz', '.virtualenv/build/virtualenv/virtualenv_support/setuptools-0.6c11-py2.4.egg', '.virtualenv/build/virtualenv/virtualenv_support/setuptools-0.6c11-py2.5.egg', '.virtualenv/build/virtualenv/virtualenv_support/setuptools-0.6c11-py2.6.egg', 'pip-log.txt']
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test uninstalling package with console_scripts that is easy_installed.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_uninstall.py", line 77, in test_uninstall_easy_installed_console_scripts
result = env.run(*args, expect_stderr=True)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 354, in run
return TestPipResult(super(TestPipEnvironment, self).run(cwd=cwd, *args, **kw), verbose=self.verbose)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 257, in run
result.assert_no_error(quiet)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 404, in assert_no_error
"Script returned code: %s" % self.returncode)
AssertionError: Script returned code: 1
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
Script result: easy_install virtualenv
return code: 1
-- stderr: --------------------
Traceback (most recent call last):
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin/easy_install", line 9, in <module>
load_entry_point('distribute==0.6.15dev', 'console_scripts', 'easy_install')()
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 1862, in main
with_ei_usage(lambda:
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 1843, in with_ei_usage
return f()
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 1866, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "/home/vbabiy/opt/python3.1/lib/python3.1/distutils/core.py", line 149, in setup
dist.run_commands()
File "/home/vbabiy/opt/python3.1/lib/python3.1/distutils/dist.py", line 919, in run_commands
self.run_command(cmd)
File "/home/vbabiy/opt/python3.1/lib/python3.1/distutils/dist.py", line 938, in run_command
cmd_obj.run()
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 348, in run
self.easy_install(spec, not self.no_deps)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 588, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 618, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 808, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 1085, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/command/easy_install.py", line 1074, in run_setup
run_setup(setup_script, args)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/sandbox.py", line 30, in run_setup
lambda: exec(compile(open(
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/sandbox.py", line 71, in run
return func()
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg/setuptools/sandbox.py", line 32, in <lambda>
).read(), "setup.py", 'exec'),
File "setup.py", line 10
print 'Note: without Setuptools installed you will have to use "python -m virtualenv ENV"'
^
SyntaxError: invalid syntax
-- stdout: --------------------
Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Reading http://virtualenv.openplans.org
Reading http://www.virtualenv.org
Best match: virtualenv 1.5.2
Downloading http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.2.tar.gz#md5=fbcefbd8520bb64bc24a560c6019a73c
Processing virtualenv-1.5.2.tar.gz
Running virtualenv-1.5.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-vCPflj/virtualenv-1.5.2/egg-dist-tmp-PBMibo
-- updated: -------------------
.virtualenv/lib/python3.1/site-packages
--------------------- >> end captured stdout << ----------------------
======================================================================
FAIL: Test uninstalling editable install from existing source outside the venv.
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/nose/case.py", line 188, in runTest
self.test(*self.arg)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_uninstall.py", line 105, in test_uninstall_editable_with_source_outside_venv
_test_uninstall_editable_with_source_outside_venv(tmpdir)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_uninstall.py", line 112, in _test_uninstall_editable_with_source_outside_venv
result = env.run('hg', 'clone', local_repo('hg+http://bitbucket.org/ianb/virtualenv'), tmpdir)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_pip.py", line 354, in run
return TestPipResult(super(TestPipEnvironment, self).run(cwd=cwd, *args, **kw), verbose=self.verbose)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 257, in run
result.assert_no_error(quiet)
File "/mnt/hgfs/mac_home/Projects/git-projects/pip/ScriptTest-1.1-py3.1.egg/scripttest/__init__.py", line 404, in assert_no_error
"Script returned code: %s" % self.returncode)
AssertionError: Script returned code: 255
-------------------- >> begin captured stdout << ---------------------
{'LESSOPEN': '| /usr/bin/lesspipe %s', 'TMPDIR': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/tmp'), 'SSH_CLIENT': '172.16.13.1 49517 22', 'LOGNAME': 'vbabiy', 'USER': 'vbabiy', 'PROMPT_COMMAND': 'set_prompt', 'HOME': '/home/vbabiy', 'PATH': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/bin:/home/vbabiy/.virtualenvs/python3.1/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games', 'PS1': '\\[\\e[1;32m\\](python3.1)\\[\\e[0m\\] \\[\\e[0;31m\\]\\u@\\h\\[\\e[0m\\] \\[\\e[0;31m\\]\\w\\[\\e[0m\\] \\[\\e[1;31m\\][\\[\\e[0m\\]\\[\\e[0;37m\\]python3\\[\\e[0m\\]\\[\\e[1;31m\\]•\\[\\e[0m\\]\\[\\e[1;33m\\]•\\[\\e[0m\\]\\[\\e[1;31m\\]]\\[\\e[0m\\] ❯❯\\[\\e[0m\\] ', 'PIP_NO_INPUT': '1', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm', 'SHELL': '/bin/bash', 'SHLVL': '1', 'EDITOR': 'vi', 'PYTHONUSERBASE': Path('/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user'), 'WORKON_HOME': '/home/vbabiy/.virtualenvs', 'VIRTUAL_ENV': '/home/vbabiy/.virtualenvs/python3.1', 'PLAT': 'linux-x86_64', 'PIP_LOG_FILE': '/mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/pip-log.txt', '_': '/home/vbabiy/.virtualenvs/python3.1/bin/python', 'SSH_CONNECTION': '172.16.13.1 49517 172.16.13.133 22', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'SSH_TTY': '/dev/pts/0', 'OLDPWD': '/home/vbabiy/Projects/git-projects', 'PWD': '/home/vbabiy/Projects/git-projects/pip', 'PIP_DOWNLOAD_CACHE': '/tmp/pip-test-cacheHsnAm3', 'MAIL': '/var/mail/vbabiy', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:'}
<class 'str'>
Script result: hg clone file:///mnt/hgfs/mac_home/Projects/git-projects/pip/tests/tests_cache/virtualenv /tmp/tmpDWRIxD/virtualenv
return code: 255
-- stderr: --------------------
abort: couldn't find mercurial libraries in [/home/vbabiy/.virtualenvs/python3.1/bin /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/distribute-0.6.15dev-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages/virtualenv-1.5.1-py3.1.egg /home/vbabiy/.virtualenvs/python3.1/lib/python31.zip /home/vbabiy/.virtualenvs/python3.1/lib/python3.1 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/lib-dynload /home/vbabiy/opt/python3.1/lib/python3.1 /home/vbabiy/opt/python3.1/lib/python3.1/plat-linux2 /home/vbabiy/.virtualenvs/python3.1/lib/python3.1/site-packages /mnt/hgfs/mac_home/Projects/git-projects/pip /mnt/hgfs/mac_home/Projects/hg-projects/scripttest /mnt/hgfs/mac_home/Projects/git-projects/pip/tests/test_ws/.virtualenv/user/lib/python3.1/site-packages /home/vbabiy/opt/python3.1/lib/python3.1/site-packages]
(check your install and PYTHONPATH)
--------------------- >> end captured stdout << ----------------------
----------------------------------------------------------------------
Ran 102 tests in 2458.495s
FAILED (failures=9, errors=1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment