Hg with Python 3 and Re2
Manuel Jacob
me at manueljacob.de
Wed May 27 15:26:20 UTC 2020
Did you try it with the fork (as described in
https://github.com/andreasvc/pyre2#installation)?
On 2020-05-27 16:57, Charles Chamberlain wrote:
> Hello,
>
> I'm trying to run mercurial with Python3 and re2. Installing re2 with
> pip3
> succeeds,
> but then any attempt to import it fails with the following:
>
> File "mercurial/util.py", line 1925, in <module>
> import re2
> File "re2.pyx", line 1, in init re2 (src/re2.cpp:13681)
> NameError: basestring
>
> There is a stack overflow question
> <https://stackoverflow.com/questions/46792200/using-re2-in-python3>
> from 3
> years ago that suggests it's not compatible.
> Has anyone succeeded in running mercurial with python3 and re2?
>
> Thanks very much!
> Charles
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
More information about the Mercurial
mailing list