Python 3.10 is out and we should support it. This commit teaches the
automation code to install and support building for Python 3.10.
Details
Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHGfc1ba19ec4a0: automation: support Python 3.10 on Windows
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- stable
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
Comment Actions
We should probably sit on this for a bit because windows_curses hasn't been updated to support py3.10 yet: https://github.com/zephyrproject-rtos/windows-curses/pull/28
Comment Actions
The windows_curses dependency is only relevant for the installer Mercurial builds - the ones that ship additional Python packages. Mercurial's setup.py doesn't have a dependency on windows_curses. And this patch is only teaching the automation to produce 3.10 wheels - it doesn't touch the installers.
So I _think_ this patch (and releasing of 3.10 Windows wheels) is still reasonably safe.
We will, of course, have to upgrade windows_curses to a compatible version before switching the installer distributions to Python 3.10 (they are currently on 3.9 I believe).