Skip to content

Comments

Drop Python 3.8 branches#13776

Merged
srittau merged 8 commits intopython:mainfrom
srittau:rm-38-branches
Apr 3, 2025
Merged

Drop Python 3.8 branches#13776
srittau merged 8 commits intopython:mainfrom
srittau:rm-38-branches

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
Collaborator

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

@github-actions

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

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.

@github-actions
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
mmingyu pushed a commit to mmingyu/typeshed that referenced this pull request May 16, 2025
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