This corrects an oversight in 5d7074e4c5c9eb59a53e459a21f96b67f6b0c0ca: the python3-pip package installs pip3, not pip.
Since the ctest invocation of lit expects python 2 and not python3, the changes introduced in 5d7074e4c5c9eb59a53e459a21f96b67f6b0c0ca are unworkable in practice. This patch therefore ensures that python-pip and python-setuptools are used. Let this be a lesson on the value of separation of concerns in patches, since if the previous one had merely added python-setuptools as a build dependency, it would probably have worked just fine ... ;-)
The patch has been rewritten to revert to python 2, since ctest requires it. The PR description has been updated accordingly (and even includes a little moral lesson for the edification of children).
This corrects an oversight in 5d7074e4c5c9eb59a53e459a21f96b67f6b0c0ca: thepython3-pip
package installspip3
, notpip
.Since the
ctest
invocation oflit
expects python 2 and not python3, the changes introduced in 5d7074e4c5c9eb59a53e459a21f96b67f6b0c0ca are unworkable in practice. This patch therefore ensures thatpython-pip
andpython-setuptools
are used. Let this be a lesson on the value of separation of concerns in patches, since if the previous one had merely addedpython-setuptools
as a build dependency, it would probably have worked just fine ... ;-)Part of https://github.com/ldc-developers/ldc2.snap/issues/29.