You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to upload the latest GitPython-0.3.2.RC1.tar.gz (as downloaded from https://pypi.python.org/pypi/GitPython/0.3.2.RC1) into a private pypi repository errors out with a 'tuple index out of range' error using Python/distutils 2.7.7.
This is due to the "requires:" value in setup.py being a tuple instead of a list.
In python2.7/distutils/command/upload.py:142-150, the following block throws the error:
for key, value in data.items():
if not isinstance(value, list): # Has Content
value = [value]
for value in value:
if isinstance(value, tuple):
fn = ';filename="%s"' % value[0]
value = value[1] # <= index doesn't exist in the 'requires' tuple
else:
fn = ""
once this line is encountered in GitPython-0.3.2.RC1/setup.py:76:
requires=('gitdb (>=0.5.1)',),
NOTE: This error still exists in master and the 0.3.2-RC1 tag, but not in 0.3 branch. PR coming shortly.
Trying to upload the latest GitPython-0.3.2.RC1.tar.gz (as downloaded from https://pypi.python.org/pypi/GitPython/0.3.2.RC1) into a private pypi repository errors out with a
'tuple index out of range'error using Python/distutils 2.7.7.This is due to the "requires:" value in
setup.pybeing a tuple instead of a list.In
python2.7/distutils/command/upload.py:142-150, the following block throws the error:once this line is encountered in
GitPython-0.3.2.RC1/setup.py:76:NOTE: This error still exists in master and the 0.3.2-RC1 tag, but not in 0.3 branch. PR coming shortly.