Skip to content

Drop support for EOL Python 3.9#13905

Merged
sbidoul merged 2 commits intopypa:mainfrom
hugovk:main
Apr 15, 2026
Merged

Drop support for EOL Python 3.9#13905
sbidoul merged 2 commits intopypa:mainfrom
hugovk:main

Conversation

@hugovk
Copy link
Copy Markdown
Contributor

@hugovk hugovk commented Apr 12, 2026

Fixes #13642.

RM for 26.1 @sbidoul is +1 on dropping 3.9: #13642 (comment)

This PR doesn't include Ruff/pyupgrade updates, per #13236.

@hugovk
Copy link
Copy Markdown
Contributor Author

hugovk commented Apr 12, 2026

Windows failure is unrelated:

Failed in attempting to update the source: winget
The `msstore` source requires that you view the following agreements before using.
Terms of Transaction: https://aka.ms/microsoft-store-terms-of-transaction
The source requires the current machine's 2-letter geographic region to be sent to the backend service to function properly (ex. "US").

https://github.com/pypa/pip/actions/runs/24307191409/job/70970409554?pr=13905

It passed on my fork: https://github.com/hugovk/pip/actions/runs/24306974738/job/70969833125#step:5:1

Maybe restart it?

@sbidoul
Copy link
Copy Markdown
Member

sbidoul commented Apr 12, 2026

🍏

Comment thread docs/html/development/getting-started.rst Outdated
@notatallshaw
Copy link
Copy Markdown
Member

I think there's a whole bunch of testing infrastructure around virtualenv that can be removed, but let's not overload this PR, it would be simpler if this was clean drop in support rather than follow up clean up work (I'm not going to block this PR but I think it would be cleaner to even more things like dataclass slots to it's own PR).

@hugovk
Copy link
Copy Markdown
Contributor Author

hugovk commented Apr 12, 2026

I've dropped the slots=True commits. I'd purposefully layered the commits, so easy to do so.

Let me know if you also want the other commit dropped.

@sbidoul sbidoul merged commit b0f7c52 into pypa:main Apr 15, 2026
33 checks passed
@hugovk hugovk mentioned this pull request Apr 15, 2026
1 task
hugovk pushed a commit to hugovk/pip that referenced this pull request Apr 15, 2026
Drop support for EOL Python 3.9
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Apr 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Python 3.9 support

4 participants