This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: pip Crash on Unpacking in get_platform() line 119
Type: behavior Stage: resolved
Components: macOS Versions: Python 2.7
process
Status: closed Resolution: third party
Dependencies: Superseder:
Assigned To: Nosy List: Vinyl Darkscratch-Kazotetsu, dstufft, ned.deily, ronaldoussoren
Priority: normal Keywords:

Created on 2016-01-21 00:57 by Vinyl Darkscratch-Kazotetsu, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg258726 - (view) Author: Vinyl Darkscratch-Kazotetsu (Vinyl Darkscratch-Kazotetsu) Date: 2016-01-21 00:57
Since upgrading to pip 8.0, I get a crash whenever I try to run it.  It fails to unpack to major, minor, and micro for the release, saying there's only two values.

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.7/bin/pip", line 7, in <module>
    from pip import main
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/__init__.py", line 15, in <module>
    from pip.vcs import git, mercurial, subversion, bazaar  # noqa
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/vcs/subversion.py", line 9, in <module>
    from pip.index import Link
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/index.py", line 29, in <module>
    from pip.wheel import Wheel, wheel_ext
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/wheel.py", line 32, in <module>
    from pip import pep425tags
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 214, in <module>
    supported_tags = get_supported()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 162, in get_supported
    arch = get_platform()
  File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pip/pep425tags.py", line 119, in get_platform
    major, minor, micro = release.split('.')
ValueError: need more than 2 values to unpack
msg258727 - (view) Author: Donald Stufft (dstufft) * (Python committer) Date: 2016-01-21 01:00
Hey,

This is actually a bug with pip not with CPython and is being tracked by https://github.com/pypa/pip/issues/3408. It's fixed in pip's repository and we'll soon have an 8.0.1 release out to fix it.
History
Date User Action Args
2022-04-11 14:58:26adminsetgithub: 70358
2016-01-21 01:02:42berker.peksagsettype: crash -> behavior
stage: resolved
2016-01-21 01:00:24dstufftsetstatus: open -> closed

nosy: + dstufft
messages: + msg258727

resolution: third party
2016-01-21 00:57:37Vinyl Darkscratch-Kazotetsucreate