Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292409 - dev-python/virtualenv-1.4.5 doesn't work with Python 2.7
Summary: dev-python/virtualenv-1.4.5 doesn't work with Python 2.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.7
  Show dependency tree
 
Reported: 2009-11-08 17:16 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-05-28 17:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-08 17:16:04 UTC
dev-python/virtualenv-1.4 doesn't work with Python 2.7.

$ virtualenv /tmp/virtualenv_test
'import site' failed; use -v for traceback
New python executable in /tmp/virtualenv_test/bin/python2.7
Also creating executable in /tmp/virtualenv_test/bin/python
Installing setuptools...........
  Complete output from command /tmp/virtualenv_test/bin/python2.7 -c "#!python
\"\"\"Bootstrap setuptoo...




" --always-copy -U setuptools:
  'import site' failed; use -v for traceback
Traceback (most recent call last):
  File "<string>", line 65, in <module>
  File "/tmp/virtualenv_test/lib64/python2.7/os.py", line 49, in <module>
    import posixpath as path
  File "/tmp/virtualenv_test/lib64/python2.7/posixpath.py", line 16, in <module>
    import warnings
ImportError: No module named warnings
----------------------------------------
...Installing setuptools...done.
Traceback (most recent call last):
  File "/usr/bin/virtualenv", line 9, in <module>
    load_entry_point('virtualenv==1.4', 'console_scripts', 'virtualenv')()
  File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 491, in main
    use_distribute=options.use_distribute)
  File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 581, in create_environment
    install_setuptools(py_executable, unzip=unzip_setuptools)
  File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 352, in install_setuptools
    _install_req(py_executable, unzip)
  File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 342, in _install_req
    cwd=cwd)
  File "/usr/lib64/python2.7/site-packages/virtualenv.py", line 552, in call_subprocess
    % (cmd_desc, proc.returncode))
OSError: Command /tmp/virtualenv_test/bin/python2.7 -c "#!python
\"\"\"Bootstrap setuptoo...




" --always-copy -U setuptools failed with error code 1
Comment 1 Rafał Mużyło 2009-11-08 18:28:41 UTC
Last time I checked, python 2.7 was yet to be released.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-11-15 18:06:21 UTC
I have temporarily restricted Python 2.7.
Comment 3 Domen Kožar 2010-05-26 18:42:52 UTC
1.4.6 and up support Python 2.7
http://bitbucket.org/ianb/virtualenv/changeset/1ce13f07261d
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-05-28 17:01:19 UTC
I unrestricted Python ABI 2.7 in dev-python/virtualenv-1.4.9.