Skip to content

GitPython not available for Python 2.7 #897

Closed
@lbussy

Description

@lbussy

Also posted on Stack Overflow in case this is just me.

When I try to install gitpython via pip normally under python 2.7, it fails telling me python 3.x is required.

This particular script/process has worked until this morning. Potential sources of the change (in my case) are an upgrade to Debian Buster (Raspbian in this case.)

 $ sudo pip install gitpython
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Collecting gitpython
  Using cached https://www.piwheels.org/simple/gitpython/GitPython-2.1.12-py2.py3-none-any.whl
GitPython requires Python '>=3.0, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*' but the running Python is 2.7.16

I am running Python 2.7.16

$ python --version
Python 2.7.16

When I check the current documentation I see that Python 2.7 or newer is listed as a requirement. What am I missing?

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