mirror of
https://github.com/home-assistant/core.git
synced 2026-09-02 19:42:30 +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