Hi Uwe,
For Mercurial you can use the distribution packages. At least Debian now has 6.0, which should work if you rebuild it on Ubuntu. Ubuntu may have recent packages as well. You should check.
And Evolve has Debian packaging, so you can build that one on Ubuntu as well.
Regards, Faheem Mitha On Thu, 25 Nov 2021, Uwe Brauer wrote:
Hi I am really confused. I am still on Ubuntu 16.04 with python 3.5 So far I have compiled for example mercurial 5.2 with python 2.7 and used evolve by just putting evolve = In my .hgrc Now I compiled mercurial 5.5 with python3.5 So I compiled mercurial 5.5 with python 3.5 uninstalled (always running make deb) mercurial 5.2 and installing 5.5 A lot of problems popped up, that I am not going to describe. But concerning evolve I obtained *** failed to import extension evolve: No module named 'evolve' obsolete feature not enabled but 26450 markers found! So I tried sudo -H python3 -m pip install evolve udo -H pip3 install --upgrade --force-reinstall --no-cache-dir evolve DEPRECATION: Python 3.5 reached the end of its life on September 13th, 2020. Please upgrade your Python as Python 3.5 is no longer maintained. pip 21.0 will drop support for Python 3.5 in January 2021. pip 21.0 will remove support for this functionality. Collecting evolve Downloading evolve-1.5b.zip (306 kB) |████████████████████████████████| 306 kB 1.0 MB/s WARNING: Discarding https://files.pythonhosted.org/packages/3d/e9/375090220c16274c716a6abe0690886693c84027bd2b31b8cdf0d3451f22/evolve-1.5b.zip#sha256=025a9c6f8d09c9efb6e2963787b572d8d828b8df698cebf687cec84a4329e5ea (from https://pypi.org/simple/evolve/). Requested evolve from https://files.pythonhosted.org/packages/3d/e9/375090220c16274c716a6abe0690886693c84027bd2b31b8cdf0d3451f22/evolve-1.5b.zip#sha256=025a9c6f8d09c9efb6e2963787b572d8d828b8df698cebf687cec84a4329e5ea has different version in metadata: '1.5' ERROR: Could not find a version that satisfies the requirement evolve ERROR: No matching distribution found for evolve So I tried it did not work sudo -H pip3 install --upgrade --force-reinstall --no-cache-dir hg-evolve I got a lot of errors of the form ollecting hg-evolve Using cached hg-evolve-10.4.1.tar.gz (838 kB) Using cached hg-evolve-10.4.0.tar.gz (853 kB) Using cached hg-evolve-10.3.3.tar.gz (850 kB) Using cached hg-evolve-10.3.2.tar.gz (849 kB) Using cached hg-evolve-10.3.1.tar.gz (848 kB) Using cached hg-evolve-10.3.0.tar.gz (831 kB) Using cached hg-evolve-10.2.0.post1.tar.gz (822 kB) Using cached hg-evolve-10.2.0.tar.gz (659 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-1e8v6ub5/hg-evolve_e8d3d57f2db840f3abc45c73765046ad/setup.py'"'"'; __file__='"'"'/tmp/pip-install-1e8v6ub5/hg-evolve_e8d3d57f2db840f3abc45c73765046ad/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-92mlhg1l cwd: /tmp/pip-install-1e8v6ub5/hg-evolve_e8d3d57f2db840f3abc45c73765046ad/ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-1e8v6ub5/hg-evolve_e8d3d57f2db840f3abc45c73765046ad/setup.py", line 38, in <module> version=get_version(), File "/tmp/pip-install-1e8v6ub5/hg-evolve_e8d3d57f2db840f3abc45c73765046ad/setup.py", line 15, in get_version ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-onbcq1ho cwd: /tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/setup.py", line 37, in <module> version=get_version(), File "/tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/setup.py", line 15, in get_version return get_metadata()['__version__'] File "/tmp/pip-install-m_xg26bb/hg-evolve_d2717156db3346738a17a7938cd42703/setup.py", line 10, in get_metadata execfile(fullpath, meta) NameError: name 'execfile' is not defined And finally Downloading hg-evolve-6.0.0.tar.gz (470 kB) |████████████████████████████████| 470 kB 419 kB/s ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/setup.py'"'"'; __file__='"'"'/tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-dca1z4rk cwd: /tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/ Complete output (9 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/setup.py", line 35, in <module> version=get_version(), File "/tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/setup.py", line 15, in get_version return get_metadata()['__version__'] File "/tmp/pip-install-m_xg26bb/hg-evolve_60d243a02d4445278de1a62e7a3488c2/setup.py", line 10, in get_metadata execfile(fullpath, meta) NameError: name 'execfile' is not defined ---------------------------------------- WARNING: Discarding https://files.pythonhosted.org/packages/31/df/99233a034927ae24d4c9f47e9ff2a39a4386aeda67e5ae7996fc4f8f2364/hg-evolve-6.0.0.tar.gz#sha256=ec3d95e35392642dc1eabecb20e7d439772055968aedb2e433946e393165eb36 (from https://pypi.org/simple/hg-evolve/). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. ERROR: Package 'hg-evolve' requires a different Python: 3.5.2 not in '!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,<4,>=2.7' So I need evolve, I am a bit puzzled and would appreciate any help, Thanks Uwe Brauer
_______________________________________________ Evolve-testers mailing list Evolve-testers@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/evolve-testers