Project

General

Profile

Actions

Bug #6365

closed

SLES 11 SP1 requires an older version of Python virtualenv

Added by Matthieu CERDA almost 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
1 (highest)
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If you use a not adequate version (too recent), you get:

Overwriting blah/lib64/python2.6/site.py with new content
New python executable in blah/bin/python
Installing setuptools, pip...
  Complete output from command /root/blah/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip:
  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/__init__.py", line 11, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/vcs/subversion.py", line 4, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/index.py", line 18, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/html5lib/__init__.py", line 16, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/html5lib/html5parser.py", line 7, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/html5lib/tokenizer.py", line 21, in <module>
  File "/root/virtualenv-1.11/virtualenv_support/pip-1.5-py2.py3-none-any.whl/pip/_vendor/html5lib/trie/py.py", line 12, in __init__
TypeError: All keys must be strings
----------------------------------------
...Installing setuptools, pip...done.
Traceback (most recent call last):
  File "virtualenv-1.11/virtualenv.py", line 2334, in <module>
    main()
  File "virtualenv-1.11/virtualenv.py", line 820, in main
    symlink=options.symlink)
  File "virtualenv-1.11/virtualenv.py", line 988, in create_environment
    install_wheel(to_install, py_executable, search_dirs)
  File "virtualenv-1.11/virtualenv.py", line 956, in install_wheel
    'PIP_NO_INDEX': '1'
  File "virtualenv-1.11/virtualenv.py", line 898, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /root/blah/bin/python -c "import sys, pip; pip...ll\"] + sys.argv[1:])" setuptools pip failed with error code 1

The last version compatible with SLES and operationnal is 1.10.1.

We should add an exception to ncf-api-virtualenv to use this version on SLES builds.

Actions #1

Updated by Matthieu CERDA almost 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/627
Actions #2

Updated by Matthieu CERDA almost 10 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset packages:rudder-packages|commit:2ac812e67142c72d84e978d1f95f10f8e474f2e6.

Actions #3

Updated by Benoît PECCATTE almost 10 years ago

Applied in changeset packages:rudder-packages|commit:90e947df5ec54a156aebc2687d6f12710445aa4c.

Actions #4

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.12 to 2.10.11
Actions #5

Updated by Vincent MEMBRÉ almost 10 years ago

  • Target version changed from 2.10.11 to 2.11.8
Actions #6

Updated by Vincent MEMBRÉ almost 10 years ago

This bug has been fixed in Rudder 2.11.8 and 3.0.2 which were were released today.

Actions #7

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF