-
Notifications
You must be signed in to change notification settings - Fork 67
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
gitdb2 4.0.2 requires gitdb 4.0.1 for its installation #86
Comments
Please see the pinned issue, #59. |
The gitdb2 package 4.0.2 is still broken for Python 2.7, since it installs on Python 2.7 due to the missing python_requires, and the gitdb version 4.0.1 it requires does not support Python 2.7. If you had just not released gitdb2 4.0.2, everything would have been fine with gitdb2. We are pinning gitdb2 to <4.0 to circumvent the issue. |
Again, it is not broken. It is working as intended, which is as a mirror package that installs gitdb. |
It is broken for Python 2.7 users. If you don't believe that, try it yourself. |
gitdb2 3.0.0 dropped support for Python 2.7 when it reached EOL over three years ago. You really shouldn't be using Python 2.7 anymore, but if you need to, pinning gitdb2 to <3 is the way to do so, as it was when gitdb2 3.0.0 was released.
Again, please refer to the pinned issue, #59.
No, a new release with that addition would not resolve your issue of gitdb2 no longer supporting Python 2.7. pip would simply resolve back to 4.0.2 and show you the same error. Even if that weren't the case, as a mirror package, the new release itself would misleadingly advertise support for Python 3.4, 3.5, 3.6, and newer, even when gitdb no longer supports those Python versions. Again, as I said:
|
The issue is that gitdb2 4.0.2 requires gitdb 4.0.1 for its installation. That is defined in the
install_requires
argument of its setup.py file (from the downloaded tarball of gitdb2 4.0.2 on Pypi):This causes the following failure when installing gitdb2 on Python 2.7:
A second issue is that gitdb2 4.0.2 no longer defines its supported Python versions. Up to gitdb2 version 3.0.3, the supported Python versions were properly specified.
A circumvention for users is to exclude gitdb2==4.0.2 (hoping that a future version of gitdb2 will fix that).
The text was updated successfully, but these errors were encountered: