Fix dependency checks for optional modules #1691

Merged
navjotcis merged 1 commits from bug-fixes15 into v0.6 2020-12-19 19:07:53 +01:00

View File

@ -144,6 +144,9 @@ for lhs, rhs in EXTRAS_REQUIRE.items():
for x in rhs
if x in EXTRAS_REQUIRE_DEPS
]):
try:
import_module(lhs)
except Exception as e:
rhs_cmd = ''.join([
CMD,
' ',