-
-
Notifications
You must be signed in to change notification settings - Fork 933
The 'Requires' tuple prevents upload to private Pypi server due to tuple (should be list) #186
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
….py (v2.7.7): the 'requires' field tuple should be a list(gitpython-developers#186)
@kevin-brown, yeah that's where it was removed in 0.3. But, it hasn't been merged yet to master (https://github.com/gitpython-developers/GitPython/blob/master/setup.py#L78), and it's still in the latest release available as of this writing on pypi.python.org (https://github.com/gitpython-developers/GitPython/blob/0.3.2-RC1/setup.py#L76). |
Fixing issue #186: 'tuple index out of range' issue when uploading to private Pypi repository
[skip ci] See #186 for the motivation of this fix.
The fix was merged, a list is now used, instead of a tuple. |
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: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.
The text was updated successfully, but these errors were encountered: