-
Notifications
You must be signed in to change notification settings - Fork 162
'ABCMeta' object is not subscriptable on Python 3.8.10 #587
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
Can you give a full traceback to reproduce this error? |
|
Was fixed upstream almost two weeks ago (https://salsa.debian.org/python-debian-team/python-debian/-/commit/7b71e7cdb5e8f637fa139af1d378a029884e6f09) - a simple bump in the requirements.txt would actually fix the issue IMO - btw the version referenced there is almost 2 years old 😳 edit: it seems to be that the issue was introduced with python-debian 0.1.45, so a downgrade to a version below should help. |
Uh oh!
There was an error while loading. Please reload this page.
On Python 3.8.10 I get:
TypeError: 'ABCMeta' object is not subscriptable
I have fixed it by replacing:
if sys.version_info >= (3, 8) or TYPE_CHECKING:
with:
if sys.version_info >= (3, 9) or TYPE_CHECKING:
in all places,
but I'm not sure what is the correct minimum version.
The text was updated successfully, but these errors were encountered: