Windows Mercurial Python 3 Installer.

Matt Harbison mharbison72 at gmail.com
Tue Dec 3 03:33:25 UTC 2019


On Mon, 02 Dec 2019 15:19:36 -0500, Tom Hindle <tom_hindle at sil.org> wrote:

> Hello,
>
> I would like to test hg running with python3 on windows, so I can port  
> some small mercurial extensions that we use.
>
> Is there a windows installer that uses python3?

Not yet, AFAIK.  There are also a handful of test failures on Windows,  
whereas the Linux and Mac versions of py3 pass all tests.

> If not is there a recommend way to test mercurial with python3 on  
> windows?

I'd setup a virtualenv, activate it, and install there.  I'd use the hg  
repo to build and install it instead of a pip install, because there are a  
lot of py3 fixes coming in.  One word of caution, you need to run  
`hg.exe`, not `hg`.  I'm not sure what's going on (I suspect it's at least  
in part because the legacy stdio environment variable isn't set), but you  
won't get any output from the latter.

The other thing you might try is to install the Linux package under WSL,  
and test there.



More information about the Mercurial mailing list