Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The 'Requires' tuple prevents upload to private Pypi server due to tuple (should be list) #186

Closed
Milestone
@tedops

Description

@tedops

Trying to upload the latest GitPython-0.3.2.RC1.tar.gz (as downloaded fromhttps://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 insetup.py being a tuple instead of a list.

Inpython2.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 inGitPython-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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp