Remove previously deprecated StrEnum backport (#146477)

This commit is contained in:
G Johansson
2025-06-11 16:41:40 +02:00
committed by GitHub
parent 4a8faad62e
commit 4836930cb1
3 changed files with 1 additions and 41 deletions

View File

@@ -25,12 +25,6 @@ _OBSOLETE_IMPORT: dict[str, list[ObsoleteImportMatch]] = {
constant=re.compile(r"^cached_property$"),
),
],
"homeassistant.backports.enum": [
ObsoleteImportMatch(
reason="We can now use the Python 3.11 provided enum.StrEnum instead",
constant=re.compile(r"^StrEnum$"),
),
],
"homeassistant.backports.functools": [
ObsoleteImportMatch(
reason="replaced by propcache.api.cached_property",