-
Notifications
You must be signed in to change notification settings - Fork 66
Error installing GitPython==2.1.14 #61
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Ran into the same thing. This appears to be a python 2.7 problem. Something about the recent update makes My current workaround is to pin
|
I also tried the same workaround. |
Same for me and I added a fixed for that: #60. There seem to be some differences between gitdb and gitdb2 packages. |
gitdb2 was changed to mirror gitdb, so that we could transition back to using the gitdb package name (#59). Since it's a mirror package, I didn't include a lot of the metadata, including that it requires Python >= 3.4, and I'd rather not have to add it specifically for Python 2 support (#60 (comment), #60 (comment)). However, the latest version of GitPython that supports Python 2, v2.1.15, should still work without any issues, as that version locks gitdb2 to < 3 (gitpython-developers/GitPython@bcf9f1c). This was done and released as v2.1.15 when GitDB dropped Python 2 support (gitpython-developers/GitPython#897 (comment)) in v3.0.0. Unfortunately, older versions of GitPython v2 did not have an upper bound for the gitdb2 requirement version specifier (gitpython-developers/GitPython#897 (comment)). If for some reason, you need to use an older version of GitPython, you can specify a version requirement of < 3 for gitdb2 yourself. I would recommend updating to GitPython v2.1.15 instead though. I'm still considering #60, so let me know if you have a situation where you cannot upgrade GitPython to v2.1.15 or pin gitdb2 to < 3 yourself. See also #60 (comment). |
GitPython released 3.1.0 to fix this problem: gitpython-developers/GitPython@c859019 I still think GitDB should have the correct dependencies to prevent this problem. Now every upstream package has to fix this. |
GitPython 3.1.0 was released to switch back to the gitdb package name now that gitdb2 is a mirror package. Again, see #59. There's no issues with dependencies. The only upstream package is smmap and it's not affected by this. |
I can't install
GitPython==2.1.14
anymore, and I think it has to do with the release ofgitdb
that has been done yesterday. Is there something wrong in the dependencies?This is how you can replicate this error in a docker container:
docker run -it ubuntu apt update && apt install python-pip -y pip install -U GitPython==2.1.14
Output:
The text was updated successfully, but these errors were encountered: