The right lib for import dnf is python3-dnf. dnf depends on it, so it is implicitly installed on Fedora. That's why build didn't fail.
import dnf
python3-dnf
dnf
Thanks for the PR!
Pull-Request has been merged by mymindstorm
The right lib for
import dnfispython3-dnf.dnfdepends on it, so it is implicitly installed on Fedora. That's why build didn't fail.