1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 21:32:21 +01:00

update minimal python version to 3.10 (#8850)

This commit is contained in:
Thomas Rupprecht
2025-05-22 03:21:43 +02:00
committed by GitHub
parent 026f47bfb3
commit aeb4e63950
36 changed files with 148 additions and 166 deletions

View File

@@ -7,7 +7,7 @@ import functools
import heapq
import logging
import re
from typing import Any, Union
from typing import Any
import voluptuous as vol
@@ -63,7 +63,7 @@ def iter_component_configs(config):
yield p_name, platform, p_config
ConfigPath = list[Union[str, int]]
ConfigPath = list[str | int]
path_context = contextvars.ContextVar("Config path")