1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-20 02:48:57 +00:00

Add zeroconf to hassfest version requirements (#153703)

This commit is contained in:
Marc Mueller
2025-10-05 02:55:35 +02:00
committed by GitHub
parent 3b0c2a7e56
commit c943cf515c

View File

@@ -44,19 +44,23 @@ PACKAGE_CHECK_VERSION_RANGE = {
"typing_extensions": "SemVer",
"urllib3": "SemVer",
"yarl": "SemVer",
"zeroconf": "SemVer",
}
PACKAGE_CHECK_PREPARE_UPDATE: dict[str, int] = {
# In the form dict("dependencyX": n+1)
# - dependencyX should be the name of the referenced dependency
# - current major version +1
# Pandas will only fully support Python 3.14 in v3.
# Zeroconf will switch to v1 soon, without any breaking changes.
"pandas": 3,
"zeroconf": 1,
}
PACKAGE_CHECK_VERSION_RANGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
# In the form dict("domain": {"package": {"dependency1", "dependency2"}})
# - domain is the integration domain
# - package is the package (can be transitive) referencing the dependency
# - dependencyX should be the name of the referenced dependency
"altruist": {"altruistclient": {"zeroconf"}},
"geocaching": {
# scipy version closely linked to numpy
# geocachingapi > reverse_geocode > scipy > numpy
@@ -74,6 +78,9 @@ PACKAGE_CHECK_VERSION_RANGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
# Current has an upper bound on major >=3.10.0,<4.0.0
"pystiebeleltron": {"pymodbus"}
},
"xiaomi_miio": {
"python-miio": {"zeroconf"},
},
}
PACKAGE_REGEX = re.compile(