mirror of
https://github.com/esphome/esphome.git
synced 2026-08-25 23:56:19 +00:00
Say the floor's config-validation guard is future wiring, not present
Nothing at this commit enforces MIN_FRAMEWORK_VERSION during validation; the native backend's validator arrives with the wiring PR. The comment no longer invites skipping it.
This commit is contained in:
@@ -107,8 +107,8 @@ class InstalledPaths(NamedTuple):
|
||||
def check_and_install(framework_version: Version) -> InstalledPaths:
|
||||
"""Ensure framework, toolchain, and ninja are installed; return their paths."""
|
||||
if framework_version < MIN_FRAMEWORK_VERSION:
|
||||
# Config validation enforces this too; keep the module honest when
|
||||
# called directly.
|
||||
# Config validation will enforce this once the native backend is
|
||||
# wired in; keep the module honest when called directly.
|
||||
raise EsphomeError(
|
||||
f"The native toolchain requires the Arduino core "
|
||||
f">= {MIN_FRAMEWORK_VERSION}, got {framework_version}"
|
||||
|
||||
Reference in New Issue
Block a user