mirror of
https://github.com/home-assistant/core.git
synced 2026-08-07 13:55:32 +01:00
If a package fails to install or partially installed importlib version can return None. We now try pkg_resources first, then try importlib, and handle the case where version unexpectedly returns None