test_depsolve: Use host python3 for libdnf check

This commit is contained in:
Brian C. Lane 2024-04-22 11:55:01 -07:00 committed by Simon de Vlieger
parent eca54c03ab
commit 106a9af937

View file

@ -27,7 +27,7 @@ def has_dnf5():
def has_dnf():
return bool(importlib.util.find_spec("dnf"))
return sp.run(["/usr/bin/python3", "-c", "import libdnf"], check=False).returncode == 0
def depsolve(pkgs, repos, root_dir, cache_dir, command):