Actions
Bug #6347
closedncf-api-virtualenv fails to build due to and outdated version of virtualenv
Bug #6347:
ncf-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).
Updated by Matthieu CERDA over 10 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Benoît PECCATTE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-packages/pull/625
Updated by Matthieu CERDA over 10 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset packages:rudder-packages|commit:d97a18141c8b9ff3d5b81cb7b12d94c775da1788.
Updated by Vincent MEMBRÉ over 10 years ago
Applied in changeset packages:rudder-packages|commit:d8b50d861739edc9ca077b06c1df4284890a4ccc.
Updated by Vincent MEMBRÉ over 10 years ago
This bug has been fixed in Rudder 2.11.8 and 3.0.2 which were were released today.
- Announcement 2.11 3.0
- Changelog 2.11 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
Actions