diff --git a/homeassistant/bootstrap.py b/homeassistant/bootstrap.py index beb04b50021..a6aadcc67a6 100644 --- a/homeassistant/bootstrap.py +++ b/homeassistant/bootstrap.py @@ -34,11 +34,14 @@ from .components import ( device_automation as device_automation_pre_import, # noqa: F401 diagnostics as diagnostics_pre_import, # noqa: F401 file_upload as file_upload_pre_import, # noqa: F401 - http, + history as history_pre_import, # noqa: F401 + http, # not named pre_import since it has requirements lovelace as lovelace_pre_import, # noqa: F401 onboarding as onboarding_pre_import, # noqa: F401 + recorder as recorder_import, # noqa: F401 - not named pre_import since it has requirements repairs as repairs_pre_import, # noqa: F401 search as search_pre_import, # noqa: F401 + sensor as sensor_pre_import, # noqa: F401 system_log as system_log_pre_import, # noqa: F401 websocket_api as websocket_api_pre_import, # noqa: F401 ) diff --git a/pyproject.toml b/pyproject.toml index c8959fb97ff..c2825830481 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,6 +35,7 @@ dependencies = [ "bcrypt==4.1.2", "certifi>=2021.5.30", "ciso8601==2.3.1", + "fnv-hash-fast==0.5.0", # When bumping httpx, please check the version pins of # httpcore, anyio, and h11 in gen_requirements_all "httpx==0.27.0", @@ -50,9 +51,11 @@ dependencies = [ "orjson==3.9.15", "packaging>=23.1", "pip>=21.3.1", + "psutil-home-assistant==0.0.1", "python-slugify==8.0.4", "PyYAML==6.0.1", "requests==2.31.0", + "SQLAlchemy==2.0.27", "typing-extensions>=4.10.0,<5.0", "ulid-transform==0.9.0", # Constrain urllib3 to ensure we deal with CVE-2020-26137 and CVE-2021-33503 diff --git a/requirements.txt b/requirements.txt index 8ded95427c2..61c531e16c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,6 +15,7 @@ awesomeversion==24.2.0 bcrypt==4.1.2 certifi>=2021.5.30 ciso8601==2.3.1 +fnv-hash-fast==0.5.0 httpx==0.27.0 home-assistant-bluetooth==1.12.0 ifaddr==0.2.0 @@ -26,9 +27,11 @@ pyOpenSSL==24.0.0 orjson==3.9.15 packaging>=23.1 pip>=21.3.1 +psutil-home-assistant==0.0.1 python-slugify==8.0.4 PyYAML==6.0.1 requests==2.31.0 +SQLAlchemy==2.0.27 typing-extensions>=4.10.0,<5.0 ulid-transform==0.9.0 urllib3>=1.26.5,<2 diff --git a/tests/test_bootstrap.py b/tests/test_bootstrap.py index 17eaa7aef66..f9c8647bd6e 100644 --- a/tests/test_bootstrap.py +++ b/tests/test_bootstrap.py @@ -1026,8 +1026,8 @@ async def test_bootstrap_dependencies( ) -async def test_frontend_deps_pre_import_no_requirements(hass: HomeAssistant) -> None: - """Test frontend dependencies are pre-imported and do not have any requirements.""" +async def test_pre_import_no_requirements(hass: HomeAssistant) -> None: + """Test pre-imported and do not have any requirements.""" pre_imports = [ name.removesuffix("_pre_import") for name in dir(bootstrap)