-
-
Notifications
You must be signed in to change notification settings - Fork 906
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
GitPython not available for Python 2.7 #897
Comments
Python 2.7 support was droppen in dac619e, the documentation should be updated |
Well, shoot. I guess I had all that free time I was wondering what I could do with ... :) Thanks for the reply. |
Just for completeness: Removing python 2 support was a mistake, which was fixed soon after. Thus the GitPython 2.X line will indefinitely support python 2. |
There is now a dependency that requires python3 even with the 2.X line: |
Unfortunately, there was improper formatting for the version specifier for gitdb2 in requirements.txt. Even with the version specifier, the version of GitDB was not restricted to < or <= any certain version. For now, you can revert back to gitdb2 2.0.6. |
I've backported 2573dd5 to the py2 branch with 7539cd8 and version locked gitdb2 to <3 with bcf9f1c now. I've also tagged the fix as v2.1.15. You can now also install directly from the branch or tag, until v2.1.15 is released on PyPI. @Byron https://github.com/gitpython-developers/GitPython/releases/tag/2.1.15 / 09ac0a1 needs to be released as v2.1.15 on PyPI. The Travis CI build failure we discussed in #979 reoccurred, but looking into it now, it seems to be an issue specific to the number of reference types for the tag build. The build for the commit itself passed with no issue. |
@Harmon758 Thanks so much for laying it down so nicely! Version 2.1.15 was just released to pypi, which should fix this issue @dbainbridge |
GitPython 2.1.15 has been reworked to work on deprecated python 2.7. gitpython-developers/GitPython#897
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.)
I am running 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?
The text was updated successfully, but these errors were encountered: