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

Drop support for Python 3.7 #393

Merged
merged 3 commits into from
Jun 17, 2023
Merged

Drop support for Python 3.7 #393

merged 3 commits into from
Jun 17, 2023

Conversation

AlexWaygood
Copy link
Collaborator

@AlexWaygood AlexWaygood commented Jun 17, 2023

Part (1) of #392. 3.7 is still a few days away from being officially end-of-life, but we can just hold off cutting a release until it is.

I'll remove our usage of the deprecated AST nodes in a separate PR.

pyi.py Outdated Show resolved Hide resolved
@github-actions
Copy link

This change has no effect on typeshed. 🤖🎉

@@ -74,3 +74,10 @@ def f38(x: bytes = b"a_very_long_byte_stringgggggggggggggggggggggggggggggggggggg

foo: str = "a_very_long_stringgggggggggggggggggggggggggggggggggggggggggggggg" # Y053 String and bytes literals >50 characters long are not permitted
bar: bytes = b"a_very_long_byte_stringggggggggggggggggggggggggggggggggggggg" # Y053 String and bytes literals >50 characters long are not permitted

# Tests for PEP-570 syntax
def f39(x: "int", /) -> None: ... # Y020 Quoted annotations should never be used in stubs
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beautiful

@AlexWaygood AlexWaygood merged commit 7b07256 into main Jun 17, 2023
20 checks passed
@AlexWaygood AlexWaygood deleted the drop-37 branch June 17, 2023 19:14
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants