EL8 no longer ships python installed by default and so our yum package modules no longer works without installing python.
We could fall back to symlinking to /usr/libexex/platform-python, but that is explicitly advised against. https://github.com/cfengine/masterfiles/blob/89a5bc496cdbd4ddddde70d25d7a6141d36aacb8/cfe_internal/update/update_policy.cf#L83
System tools in Red Hat Enterprise Linux 8 use a Python version 3.6 provided by the internal platform-python package. Red Hat advises customers to use the python36 package instead.
Additionally there have been discussions about ways to actively discourage people from doing this, i.e. randomizing the binary location or patching the platform python to disallow programs that do not live under a certain path from being able to use it. https://github.com/coreos/fedora-coreos-tracker/issues/32