test_depsolve: Use host python3 for libdnf check
This commit is contained in:
parent
eca54c03ab
commit
106a9af937
1 changed files with 1 additions and 1 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue