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

Remove Python 3.6 support #4642

Merged
merged 1 commit into from
Nov 16, 2024
Merged

Remove Python 3.6 support #4642

merged 1 commit into from
Nov 16, 2024

Conversation

Repiteo
Copy link
Contributor

@Repiteo Repiteo commented Nov 13, 2024

Removes all references to the deprecated 3.6 version, updating documentation and tests to account for the new baseline. This is a deliberately standalone PR, as any functional changes that'd come from it are better suited for evaluation in an isolated environment.

Contributor Checklist:

  • I have created a new test or updated the unit tests to cover the new/changed functionality.
  • I have updated CHANGES.txt and RELEASE.txt (and read the README.rst).
  • I have updated the appropriate documentation

@mwichmann mwichmann added maintenance Tasks to maintain internal SCons code/tools Release Any an all issues with releasing and packaging SCons itself labels Nov 13, 2024
@@ -1356,12 +1356,6 @@ def order(dependencies):
# various print_* settings, tree_printer list, etc.
BuildTask.options = options

is_pypy = platform.python_implementation() == 'PyPy'
Copy link
Contributor

Choose a reason for hiding this comment

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

why are you removing is_pypy ?

Copy link
Contributor Author

@Repiteo Repiteo Nov 15, 2024

Choose a reason for hiding this comment

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

It and is_37_or_later were only used in the commented-out python_has_threads variable. I could just leave it be, but I was already removing the redundant is_37_or_later which would otherwise just be an unreferenced variable always returning True, so removing that whole vestigial block felt more appropriate

doc/man/scons.xml Outdated Show resolved Hide resolved
@bdbaddog
Copy link
Contributor

Just a couple queries/requested changes and we should be able to merge.
Thanks!

@Repiteo
Copy link
Contributor Author

Repiteo commented Nov 15, 2024

My bad, didn't see your review until just now

@Repiteo
Copy link
Contributor Author

Repiteo commented Nov 16, 2024

Also, would we want to mark 3.7 as deprecated as well? Or is that better suited for another PR and/or not necessary atm?

@mwichmann
Copy link
Collaborator

let's do 3.7 separately

@bdbaddog
Copy link
Contributor

Good work. THanks!

@bdbaddog bdbaddog merged commit 9f387ef into SCons:master Nov 16, 2024
9 of 10 checks passed
@Repiteo Repiteo deleted the remove-python-3.6 branch November 16, 2024 23:52
@mwichmann mwichmann added this to the NextRelease milestone Nov 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Tasks to maintain internal SCons code/tools Release Any an all issues with releasing and packaging SCons itself
Projects
Status: Complete
Development

Successfully merging this pull request may close these issues.

3 participants