( )⚙ D10702 run-tests: use the same python version for shebang lines on Windows

This is an archive of the discontinued Mercurial Phabricator instance.

run-tests: use the same python version for shebang lines on Windows
ClosedPublic

Authored by mharbison72 on May 8 2021, 12:29 AM.

Details

Summary

The latest py3 is used if the minor number isn't specified. After running the
script to install all of the build dependencies, that moved the default from 3.8
to 3.9 on the CI system. That in turn caused a bunch of tests to be skipped
that were running prior, even when the test runner was invoked with py -3.8.
While we should almost always use the latest version, we really shouldn't make
it hard to test different versions or allow things to randomly break in subtle
ways like that.

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

mharbison72 created this revision.May 8 2021, 12:29 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.