hg-evolve ported to mercurial3?

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue Aug 13 13:08:07 UTC 2019


For the record, these patch as landed last week. tests pass with python 3

On 7/29/19 7:31 PM, Neal Becker wrote:
> Sorry, of course, I meant python3 :)
> 
> Manuel Jacob wrote:
> 
>> In the repository for hg-evolve, I’ve seen some recent changes improving
>> the Python 3 support.
>>
>> But the line that fails for you is still there in both the 'default' and
>> 'stable' branches.  Maybe there’s an in-review patch that addresses this
>> specific problem.  Otherwise you can send one yourself.  This would
>> probably involve replacing the 'execfile' call with a 'runpy.run_path'
>> call (see https://docs.python.org/3/library/runpy.html#runpy.run_path).
>>
>> -Manuel
>>
>> On 2019-07-29 15:24, Neal Becker wrote:
>>> Doesn't seem to install:
>>>   pip3 install --user hg-evolve
>>> Collecting hg-evolve
>>>    Using cached
>>>
> https://files.pythonhosted.org/packages/eb/8f/dfb10f35b0f6e97bbf851b7be3d88b3a89932568e4563c77abbf06dd2d6c/hg-evolve-9.0.0.tar.gz
>>>      ERROR: Complete output from command python setup.py egg_info:
>>>      ERROR: Traceback (most recent call last):
>>>        File "<string>", line 1, in <module>
>>>        File "/tmp/pip-install-h0q_bfyo/hg-evolve/setup.py", line 37, in
>>> <module>
>>>          version=get_version(),
>>>        File "/tmp/pip-install-h0q_bfyo/hg-evolve/setup.py", line 15, in
>>> get_version
>>>          return get_metadata()['__version__']
>>>        File "/tmp/pip-install-h0q_bfyo/hg-evolve/setup.py", line 10, in
>>> get_metadata
>>>          execfile(fullpath, meta)
>>>      NameError: name 'execfile' is not defined
>>>      ----------------------------------------
>>> ERROR: Command "python setup.py egg_info" failed with error code 1 in
>>> /tmp/pip-install-h0q_bfyo/hg-evolve/
>>>
>>> _______________________________________________
>>> Mercurial mailing list
>>> Mercurial at mercurial-scm.org
>>> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>> _______________________________________________
>> Mercurial mailing list
>> Mercurial at mercurial-scm.org
>> https://www.mercurial-scm.org/mailman/listinfo/mercurial
> 
> 
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
> 

-- 
Pierre-Yves David


More information about the Mercurial mailing list