Skip to content

Conversation

charles-zablit
Copy link
Contributor

Update to Python 3.10.1 on Windows since Python 3.9.10 is going EOL on October 2025.

@charles-zablit charles-zablit self-assigned this Aug 8, 2025
@charles-zablit charles-zablit added the Windows Platform: Windows label Aug 8, 2025
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@charles-zablit charles-zablit force-pushed the charles-zablit/windows/update-to-3.10.1 branch from d2de8d9 to 3161a8b Compare August 19, 2025 10:26
@charles-zablit
Copy link
Contributor Author

@swift-ci please smoke test

@medismailben medismailben self-requested a review August 19, 2025 14:30
@medismailben
Copy link
Contributor

Hey, I guess people using lldb upstream (without swift support) might also have this Windows on ARM issue, right ?

Given that upstream lldb requires Python 3.8 (which have been EOL since October 2024!), I might be worth to bump that requirement to get a newer version both upstream as well as addressing the windows issue.

cc. @JDevlieghere

@charles-zablit
Copy link
Contributor Author

We need to cherry-pick llvm/llvm-project#154396 before this can be merged.

@charles-zablit
Copy link
Contributor Author

Hey, I guess people using lldb upstream (without swift support) might also have this Windows on ARM issue, right ?

Given that upstream lldb requires Python 3.8 (which have been EOL since October 2024!), I might be worth to bump that requirement to get a newer version both upstream as well as addressing the windows issue.

cc. @JDevlieghere

They would get the same issue on Windows if they build with Python 3.8, however the installer for 21.1 is built with Python 3.11, which does have a Python arm64 installer. And I don't think someone would even be able to build an arm64 version of lldb with python 3.9 or earlier as there is no official build of Python for that platform. (They could try to build Python from source, but not sure if that even works).

Ubuntu focal is not supported anymore, so we could bump the version to 3.9 upstream? This was the only reason I can see for keeping 3.8 instead of something newer in the original RFC: https://discourse.llvm.org/t/rfc-lets-document-and-enforce-a-minimum-python-version-for-lldb/82731

@medismailben
Copy link
Contributor

Hey, I guess people using lldb upstream (without swift support) might also have this Windows on ARM issue, right ?
Given that upstream lldb requires Python 3.8 (which have been EOL since October 2024!), I might be worth to bump that requirement to get a newer version both upstream as well as addressing the windows issue.
cc. @JDevlieghere

They would get the same issue on Windows if they build with Python 3.8, however the installer for 21.1 is built with Python 3.11, which does have a Python arm64 installer. And I don't think someone would even be able to build an arm64 version of lldb with python 3.9 or earlier as there is no official build of Python for that platform. (They could try to build Python from source, but not sure if that even works).

Ubuntu focal is not supported anymore, so we could bump the version to 3.9 upstream? This was the only reason I can see for keeping 3.8 instead of something newer in the original RFC: https://discourse.llvm.org/t/rfc-lets-document-and-enforce-a-minimum-python-version-for-lldb/82731

I've asked around and we're not ready to bump the python that ships with Xcode. Since this only affects windows, then it's fine for now. LGTM

@charles-zablit
Copy link
Contributor Author

@swift-ci please test windows

2 similar comments
@charles-zablit
Copy link
Contributor Author

@swift-ci please test windows

@charles-zablit
Copy link
Contributor Author

@swift-ci please test windows

@charles-zablit charles-zablit merged commit 7c5c94f into swiftlang:main Aug 25, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Windows Platform: Windows
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants