Actions
Bug #6347
closedncf-api-virtualenv fails to build due to and outdated version of virtualenv
Status:
Released
Priority:
1 (highest)
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
We use a virtualenv version 1.9, which is quite outdated (2013).
Virtualenv creation fails with the following error:
New python executable in blah/bin/python Installing setuptools................................................ Complete output from command /home/mcerda/Reposit...CES/blah/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:]) " --always-copy -U setuptools: Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg Searching for setuptools Reading http://pypi.python.org/simple/setuptools/ Best match: setuptools 12.4 Downloading https://pypi.python.org/packages/source/s/setuptools/setuptools-12.4.zip#md5=b088ed7a43a93a1fd1fcabdf73bfa0bf Processing setuptools-12.4.zip Running setuptools-12.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-3IJo15/setuptools-12.4/egg-dist-tmp-KrsZdR /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'src_root' warnings.warn(msg) Traceback (most recent call last): (...) ---------------------------------------- ...Installing setuptools...done. Traceback (most recent call last): File "virtualenv.py", line 2577, in <module> main() File "virtualenv.py", line 979, in main no_pip=options.no_pip) File "virtualenv.py", line 1091, in create_environment search_dirs=search_dirs, never_download=never_download) File "virtualenv.py", line 611, in install_setuptools search_dirs=search_dirs, never_download=never_download) File "virtualenv.py", line 583, in _install_req cwd=cwd) File "virtualenv.py", line 1057, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /home/mcerda/Reposit...CES/blah/bin/python -c "#!python \"\"\"Bootstra...sys.argv[1:]) " --always-copy -U setuptools failed with error code 1 zsh: exit 1 python virtualenv.py blah
Let's update to the latest version (12.0.7).
Actions