-
-
Notifications
You must be signed in to change notification settings - Fork 933
cannot import name 'OrderedDict' from 'typing' #1300
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
Comments
Hi, thanks for the report. |
Thank you for acting so fast. |
Closing this as it should be fixed in the newest release (3.1.24). If anyone still hits this issue, please comment and reopen. |
This was first included in a release that dropped 3.6 support (in a patch version |
I am sorry for the inconvenience. It's probably not very clear how the stability of GitPython is affected by its support for the underlying python interpreter. The status quo is to drop support in patch levels, but I'd have thought this is only done at EOL and not before. Since the supported python versions are distributed with the setup.py file, I'd hope that whichever tool you are using isn't auto-updating to a patch level that doesn't support its own python interpreter anymore.
It's EOL in two weeks, but if it wasn't, is there a way to help out in such a situation? |
I feel like the entire response I wrote up is kinda... whiny 😕 I'm sorry for that. I'll leave it anyways in case there's any value to be had, but I realize the project is in maintenance mode and everything is best-effort. So, I'm grateful a fix is available in any form 🙏 Not sure if this project follows semver, but dropping support is technically a backwards-incompatible change... This fix (3347c00) went in before the commit that dropped py36, so a release could have been cut in between. (I actually had to dive in to see that it went out in the same release, 3.1.22... I was skipping over all the yanks.) If there had been a minor or major version bump, we could backport the fix and cut a new release, but we can't really do that at this point without adding a 4th release digit (e.g. I'm sure excluding 3.6 wasn't intentional. It's just that fixing it after dropping py36 doesn't really buy much... AFAIK, superseded Python patch releases are EOL, so fixing support for only 3.7.0 and 3.7.1 just seems like the same effort for way less gain. |
Hello, something about recent changes broke our CI.
I'm not sure what the issue is exactly but there seems to be some condition to determine where
OrderedDict
comes from inconfig.py
We have Python 3.7.1
We have this problem with
gitpython-3.1.20
from pypiThe text was updated successfully, but these errors were encountered: