mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +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