This is an archive of the discontinued Mercurial Phabricator instance.

automation: support Python 3.10 on Windows
ClosedPublic

Authored by indygreg on Nov 23 2021, 8:58 PM.

Details

Summary

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.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

indygreg created this revision.Nov 23 2021, 8:58 PM

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

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

I'm assuming this is good now that I queued your D11804?

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).

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

I'm assuming this is good now that I queued your D11804?

Yes.

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.