Remove Python 3.7 support; deprecate Python 3.8 support#4825
Open
Repiteo wants to merge 2 commits intoSCons:masterfrom
Open
Remove Python 3.7 support; deprecate Python 3.8 support#4825Repiteo wants to merge 2 commits intoSCons:masterfrom
Repiteo wants to merge 2 commits intoSCons:masterfrom
Conversation
Collaborator
|
This was in the plan, though the discussion we had earlier was to deprecate both 3.7 and 3.8 and not directly drop 3.7 without a cooling off period. |
Contributor
|
Can you split this PR in two, one with logic to deprecate 3.7 and 3.8, and then another with changes enabled by that? |
This was referenced Feb 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In setting up #4824, I've realized just how limited some of the type-aware tools are with a 3.7 baseline. While that alone wouldn't be enough to want to push for a version bump, I was curious and checked if any other areas of the repo are waiting on a version bump from 3.7 specifically. As it turns out, there were multiple! Combined with 3.7 no longer being supported on several GitHub runners (
macos-15&ubuntu-24.04), it made sense to drop that version outright & migrate over the functionality waiting on a 3.8 basline.At this time, this PR is split into two commits; the second is dedicated to deprecating Python 3.8. While not as pertinent as dropping 3.7, even 3.8 has been well past eol for years now, and some of our analysis tools (mypy) have a minimum version of 3.9, so it's a reasonable target for an upcoming baseline. With that said, if this is too forward or warrants an entirely separate PR/discussion, then I can easily remove that commit and keep everything focused on the 3.7 removal instead.
Contributor Checklist:
CHANGES.txtandRELEASE.txt(and read theREADME.rst).