mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 12:47:08 +00: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