From e137133d75ce97170d888ca4b8f3e4461c8f9836 Mon Sep 17 00:00:00 2001 From: Kapil Gupta Date: Mon, 27 Apr 2026 15:12:20 +0530 Subject: [PATCH] fix(esp_remote): Remove idf_build_apps dependency from script --- components/esp_wifi/remote/scripts/generate_and_check.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/components/esp_wifi/remote/scripts/generate_and_check.py b/components/esp_wifi/remote/scripts/generate_and_check.py index 4e02e714f16..ad2234c19f5 100644 --- a/components/esp_wifi/remote/scripts/generate_and_check.py +++ b/components/esp_wifi/remote/scripts/generate_and_check.py @@ -133,7 +133,6 @@ def _handle_missing_tool(msg: str) -> None: try: - import idf_build_apps # noqa: F401 import pycparser # noqa: F401 except ImportError: _handle_missing_tool('ESP-IDF environment not found (missing python dependencies)') @@ -268,8 +267,9 @@ def get_vars(parameters: list[Any]) -> tuple[str, str]: def generate_kconfig_wifi_caps(idf_path: str, component_path: str) -> list[str]: - from idf_build_apps.constants import PREVIEW_TARGETS - from idf_build_apps.constants import SUPPORTED_TARGETS + sys.path.append(os.path.join(idf_path, 'tools')) + from idf_py_actions.constants import PREVIEW_TARGETS + from idf_py_actions.constants import SUPPORTED_TARGETS kconfig = os.path.join(component_path, 'Kconfig.soc_wifi_caps.in') slave_select = os.path.join(component_path, 'Kconfig.slave_select.in')