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 Python 3.8 branches #13776

Merged
merged 8 commits into from
Apr 3, 2025
Merged

Drop Python 3.8 branches #13776

merged 8 commits into from
Apr 3, 2025

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Apr 2, 2025

Final part of #12112.

@srittau
Copy link
Collaborator Author

srittau commented Apr 2, 2025

I will split this PR tomorrow, unless someone beats me to it by reviewing the whole thing.

@srittau srittau marked this pull request as ready for review April 2, 2025 15:15
@brianschubert
Copy link
Contributor

brianschubert commented Apr 2, 2025

Little sanity check: I verified that running ruff with target-version = "py39" on this PR doesn't find any more branches

This comment has been minimized.

Copy link
Member

@JelleZijlstra JelleZijlstra left a comment

Choose a reason for hiding this comment

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

Looked at the first few files, up to asyncio

@@ -52,9 +49,8 @@ class Function(SymbolTable):
def get_nonlocals(self) -> tuple[str, ...]: ...

class Class(SymbolTable):
if sys.version_info < (3, 16):
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Out of scope for this PR, but I removed this check, as it's a long time to 3.16 and who knows what will happen until then.

Copy link
Contributor

github-actions bot commented Apr 3, 2025

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau srittau merged commit 30b16c1 into python:main Apr 3, 2025
55 checks passed
@srittau srittau deleted the rm-38-branches branch April 3, 2025 08:35
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.

3 participants