python3 is required for running the unit tests on macOS, Ubuntu and Fedora. Without python3 installed, 'make check' fails because /test/util/bitcoin-util-test.py fails to find python3.
Backport of core PR11136
https://github.com/bitcoin/bitcoin/pull/11136/files
Depends on D3904.