[Commented On] D9273: global: use python3 in shebangs

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Tue Nov 17 04:40:19 UTC 2020


mharbison72 added a comment.


  This causes problems on Windows (since python3 == python.exe)- for example, all test-check-* but one are skipped because `hghave` is failing, complaining `python3` is missing.  The only way I can think of to work around this is to use `$PYTHON` to run the scripts instead of directly executing them.  Before I do that, is there some other simpler mechanism that I'm overlooking?  I tried to add `alias python3="py -3"` to the script that gets generated when `MSYSTEM` is in the environment around run-tests.py:1760, but that didn't help (likely `env` doesn't know about it).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D9273/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D9273

To: indygreg, #hg-reviewers, martinvonz
Cc: mharbison72, martinvonz, mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20201117/0559fab6/attachment-0002.html>


More information about the Mercurial-patches mailing list