Bug#786580: virtualenv: fails with TypeError: 'int' object is not iterable

2015-05-22 Thread Sanjeev
Package: virtualenv
Version: 1.11.6+ds-1
Followup-For: Bug #786580

Dear Maintainer,

this also effect python-pip, python-pip3 can't able to install any packages



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.0.4 (SMP w/8 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualenv depends on:
ii  python3 3.4.2-2
ii  python3-virtualenv  1.11.6+ds-1

virtualenv recommends no packages.

virtualenv suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#786580: virtualenv: fails with TypeError: 'int' object is not iterable

2015-05-22 Thread Felix C. Stegerman
Package: virtualenv
Version: 1.11.6+ds-1
Severity: important

Dear Maintainer,

I just installed {python{3,}-,}virtualenv (on sid) but when I try to
create a virtualenv, this happens instead:

$ virtualenv -ppython3 venv3 
Already using interpreter /usr/bin/python3
Using base prefix '/usr'
New python executable in venv3/bin/python3
Also creating executable in venv3/bin/python
Installing setuptools, pip...
  Complete output from command /home/felix/dev/uni/wafvuln/venv3/bin/python3 -c 
import sys, pip; sys...d\] + sys.argv[1:])) setuptools pip:
  Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking setuptools
Cleaning up...
Exception:
Traceback (most recent call last):
  File 
/usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/basecommand.py, 
line 122, in main
status = self.run(options, args)
  File 
/usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/commands/install.py,
 line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/req.py, 
line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/index.py, 
line 292, in find_requirement
elif is_prerelease(version) and not (self.allow_all_prereleases or 
req.prereleases):
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/util.py, 
line 739, in is_prerelease
return any([any([y in set([a, b, c, rc, dev]) for y in x]) for x 
in parsed])
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/util.py, 
line 739, in listcomp
return any([any([y in set([a, b, c, rc, dev]) for y in x]) for x 
in parsed])
TypeError: 'int' object is not iterable

Storing debug log for failure in /home/felix/.pip/pip.log

Installing setuptools, pip...done.
Traceback (most recent call last):
  File /usr/bin/virtualenv, line 9, in module
load_entry_point('virtualenv==1.11.6', 'console_scripts', 'virtualenv')()
  File /usr/lib/python3/dist-packages/virtualenv.py, line 830, in main
symlink=options.symlink)
  File /usr/lib/python3/dist-packages/virtualenv.py, line 1032, in 
create_environment
install_wheel(to_install, py_executable, search_dirs)
  File /usr/lib/python3/dist-packages/virtualenv.py, line 975, in 
install_wheel
'PIP_NO_INDEX': '1'
  File /usr/lib/python3/dist-packages/virtualenv.py, line 917, in 
call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/felix/dev/uni/wafvuln/venv3/bin/python3 -c import sys, 
pip; sys...d\] + sys.argv[1:])) setuptools pip failed with error code 2

$ virtualenv -ppython2 venv2
New python executable in venv2/bin/python2
Also creating executable in venv2/bin/python
Installing setuptools, pip...
  Complete output from command /home/felix/dev/uni/wafvuln/venv2/bin/python2 -c 
import sys, pip; sys...d\] + sys.argv[1:])) setuptools pip:
  Ignoring indexes: https://pypi.python.org/simple/
Downloading/unpacking setuptools
Cleaning up...
Exception:
Traceback (most recent call last):
  File 
/usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/basecommand.py, 
line 122, in main
status = self.run(options, args)
  File 
/usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/commands/install.py,
 line 290, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, 
bundle=self.bundle)
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/req.py, 
line 1178, in prepare_files
url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/index.py, 
line 292, in find_requirement
elif is_prerelease(version) and not (self.allow_all_prereleases or 
req.prereleases):
  File /usr/share/python-wheels/pip-1.5.6-py2.py3-none-any.whl/pip/util.py, 
line 739, in is_prerelease
return any([any([y in set([a, b, c, rc, dev]) for y in x]) for x 
in parsed])
TypeError: 'int' object is not iterable

Storing debug log for failure in /home/felix/.pip/pip.log

Installing setuptools, pip...done.
Traceback (most recent call last):
  File /usr/lib/python3/dist-packages/virtualenv.py, line 2378, in module
main()
  File /usr/lib/python3/dist-packages/virtualenv.py, line 830, in main
symlink=options.symlink)
  File /usr/lib/python3/dist-packages/virtualenv.py, line 1032, in 
create_environment
install_wheel(to_install, py_executable, search_dirs)
  File /usr/lib/python3/dist-packages/virtualenv.py, line 975, in 
install_wheel
'PIP_NO_INDEX': '1'
  File /usr/lib/python3/dist-packages/virtualenv.py, line 917, in 
call_subprocess
% (cmd_desc, proc.returncode))
OSError: Command /home/felix/dev/uni/wafvuln/venv2/bin/python2 -c import sys, 
pip; sys...d\] + sys.argv[1:])) setuptools pip failed with error code 2