Skip to content

2.0.9 fails on Python 2.6 #540

Closed
Closed
@andy-maier

Description

@andy-maier

I was thankful to see your reaction to my issue #453, but unfortunately GitPython 2.0.9 has some issues on Python 2.6. GitPython 2.0.8 worked like a charm for us.

The issues are:

  • uses of dictionary comprehension in git/cmd.py around line 800 (dict comprehensions were introduced in py27).
  • use of SkipTest and skipIf from unittest.case in git/util.py and in several test cases (these were added to unittest in py27). Also, the Python unittest docs suggest they be imported from unittest and not from unittest.case, but that is minor.

I have fixed those locally and will create a PR for your review.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions