Add dataclasses-json to forbidden packages (#178632)

This commit is contained in:
Marc Mueller
2026-08-10 11:51:19 +02:00
committed by GitHub
parent 72ca26b5b5
commit 886ccf2ecb
+6
View File
@@ -99,6 +99,9 @@ FORBIDDEN_PACKAGES = {
"codecov": "not be a runtime dependency",
# Coloredlogs is unmaintained and contains a '.pth' file
"coloredlogs": "be replaced with colorlog",
# dataclasses-json is no longer maintained
# Some uses will start to break in Python 3.15
"dataclasses-json": "be removed (it can break in Python 3.15)",
# Only needed for docs
"mkdocs": "not be a runtime dependency",
# Does blocking I/O and should be replaced by pyserial-asyncio-fast
@@ -169,6 +172,7 @@ FORBIDDEN_PACKAGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
"imeon_inverter": {"imeon-inverter-api": {"async-timeout"}},
"ipp": {"pyipp": {"backoff"}},
"iqvia": {"pyiqvia": {"backoff"}},
"ista_ecotrend": {"pyecotrend-ista": {"dataclasses-json"}},
"kef": {"aiokef": {"async-timeout"}},
"kodi": {"jsonrpc-websocket": {"async-timeout"}},
"lametric": {"demetriek": {"backoff"}},
@@ -212,6 +216,7 @@ FORBIDDEN_PACKAGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
"roku": {"rokuecp": {"backoff"}},
"screenlogic": {"screenlogicpy": {"async-timeout"}},
"sense": {"sense-energy": {"async-timeout"}},
"simplefin": {"simplefin4py": {"dataclasses-json"}},
"simplisafe": {"simplisafe-python": {"backoff"}},
"slimproto": {"aioslimproto": {"async-timeout"}},
"surepetcare": {"surepy": {"async-timeout"}},
@@ -229,6 +234,7 @@ FORBIDDEN_PACKAGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
},
"velbus": {"velbus-aio": {"backoff"}},
"volkszaehler": {"volkszaehler": {"async-timeout"}},
"weatherflow_cloud": {"weatherflow4py": {"dataclasses-json"}},
"whirlpool": {"whirlpool-sixth-sense": {"async-timeout"}},
"zamg": {"zamg": {"async-timeout"}},
"zha": {