Skip to content

[windows] build the toolchain with Python 3.11.9#88576

Open
charles-zablit wants to merge 1 commit intoswiftlang:mainfrom
charles-zablit:cz/windows/python-311
Open

[windows] build the toolchain with Python 3.11.9#88576
charles-zablit wants to merge 1 commit intoswiftlang:mainfrom
charles-zablit:cz/windows/python-311

Conversation

@charles-zablit
Copy link
Copy Markdown
Contributor

  • Explanation:
    Update the Python version used to build the Swift toolchain from 3.10.1 to 3.11.9. As a consequence, Python 3.11 will be required to run lldb on Windows (instead of 3.10).
  • Scope:
    This change should not have any impact on the code, upstream lldb uses Python 3.11 on Windows already.
  • Issues:
  • Risk:
    Python 3.10 will be deprecated in October 2026. Since lldb needs Python at runtime, there is a risk lldb 6.4 on Windows will require a deprecated version of Python to run (depending on the release date of the toolchain).
  • Testing:
    • Tested that CI passes.

@charles-zablit
Copy link
Copy Markdown
Contributor Author

@swift-ci please test

@charles-zablit
Copy link
Copy Markdown
Contributor Author

@swift-ci please test windows

@compnerd
Copy link
Copy Markdown
Member

Is this going to be in sync with upstream? Upstream won't change release/21.x to python 3.11 right? I don't think that this should go in unless it is accompanied by a rebranch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lldb Windows Platform: Windows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Python to 3.11+ on Windows

3 participants