Joel Holdsworth <jholdsworth@xxxxxxxxxx> writes: >> > What unit tests are these? I am happy to test with them. >> >> cd t >> make T=t98* -j$(nproc) > > Awesome! Just ran the tests. We got a clean sweep. > > With one proviso: > > When running the current upstream master git-p4 version, there are errors if /usr/bin/python is not present. > > lib-git-p4.sh checks for the presence of python with "test_have_prereq PYTHON" - but if I only have /usr/bin/python3 installed, the prerequisite check passes, but git-p4.py itself fails because the shebang points at python not python3. > > On Debian installing the package "python-is-python3" fixes the issue. Can I take that a distro allowing an installation without python-is-python3 (or just having only python2) as a sign that "transtion to 3 only" is a bit premature? > Perhaps it might help to have something like "test_have_prereq PYTHON3". Sure, but that defeats the whole notion of "python3 is everywhere, python2 is dead, and nobody should be using the 2-year dead version". "test_have_prereq PYTHON" should be sufficient in such a world, no?