mirror of
https://github.com/home-assistant/core.git
synced 2026-08-06 21:35:13 +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