paylogic / pip-accel

pip-accel: Accelerator for pip, the Python package manager
https://pypi.python.org/pypi/pip-accel
MIT License
307 stars 35 forks source link

pip 1.5 error - need more than 2 values to unpack error #23

Closed robbyt closed 10 years ago

robbyt commented 10 years ago

pip-accel seems incompatible with pip v1.5

$ pip-accel install -r requirements.txt
INFO Unpacking local source distributions ..
INFO Executing command: pip install --download-cache=/root/.pip/download-cache --find-links=file:///var/cache/pip-accel/sources --build-directory=/tmp/tmpLyTF4T --no-index -r requirements.txt --no-install
Traceback (most recent call last):
File "/srv/virtualenv/1388883995/bin/pip-accel", line 9, in <module>
  load_entry_point('pip-accel==0.11', 'console_scripts', 'pip-accel')()
File "/srv/virtualenv/1388883995/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 99, in main
  requirements = unpack_source_dists(arguments, build_directory)
File "/srv/virtualenv/1388883995/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 175, in unpack_source_dists
  build_directory=build_directory)
File "/srv/virtualenv/1388883995/local/lib/python2.7/site-packages/pip_accel/__init__.py", line 256, in run_pip
    cmd_name, options, args, parser = parseopts(command_line[1:])
ValueError: need more than 2 values to unpack
xolox commented 10 years ago

Thanks for reporting the issue. For now I've pinned pip >= 1.4, < 1.5 which takes care of the immediate problem. I'll investigate upgrading to pip 1.5 soon.