Skip to content
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

Import Literal from typing now that 3.7 dropped #838

Open
ascillitoe opened this issue Jul 13, 2023 · 0 comments
Open

Import Literal from typing now that 3.7 dropped #838

ascillitoe opened this issue Jul 13, 2023 · 0 comments
Labels
Priority: Low Type: Maintenance Anything to do with library maintenance (CI, linting, refactoring etc.)

Comments

@ascillitoe
Copy link
Contributor

ascillitoe commented Jul 13, 2023

Now that we support Python >= 3.8 (#825) we could do:

from typing import Literal

instead of:

from typing_extensions import Literal

Although, this depends if we want to keep unofficial support for 3.7 for a while. I vote no, but probably worth at least checking nothing else on our stack is locked into 3.7...

@ascillitoe ascillitoe added Priority: Low Type: Maintenance Anything to do with library maintenance (CI, linting, refactoring etc.) labels Jul 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Low Type: Maintenance Anything to do with library maintenance (CI, linting, refactoring etc.)
Projects
None yet
Development

No branches or pull requests

1 participant