Skip to content

typing-extensions dependency not correct? #1274

Closed
@wardy3

Description

@wardy3

Hi

I am getting this error:

   from git import Repo
1361/usr/local/lib/python3.7/site-packages/git/__init__.py:8: in <module>
1362    from git.exc import *                       # @NoMove @IgnorePep8
1363/usr/local/lib/python3.7/site-packages/git/exc.py:10: in <module>
1364    from git.compat import safe_decode
1365/usr/local/lib/python3.7/site-packages/git/compat.py:32: in <module>
1366    from git.types import TBD
1367/usr/local/lib/python3.7/site-packages/git/types.py:12: in <module>
1368    from typing_extensions import Final, Literal, SupportsIndex  # noqa: F401
1369E   ImportError: cannot import name 'SupportsIndex' from 'typing_extensions' (/usr/local/lib/python3.7/site-packages/typing_extensions.py)

I think it's because the dependency is listed as 3.7.4.0 but SupportsIndex wasn't added until May 2020, which looks like 3.7.4.3?

thanks for the great work

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions