Add awesomeversion to dependency version checks (#146047)

This commit is contained in:
epenet
2025-06-02 17:28:13 +02:00
committed by GitHub
parent 27d79bb10a
commit 87395efc6e

View File

@ -26,6 +26,7 @@ from .model import Config, Integration
PACKAGE_CHECK_VERSION_RANGE = {
"aiohttp": "SemVer",
"attrs": "CalVer",
"awesomeversion": "CalVer",
"grpcio": "SemVer",
"httpx": "SemVer",
"mashumaro": "SemVer",
@ -40,6 +41,18 @@ PACKAGE_CHECK_VERSION_RANGE_EXCEPTIONS: dict[str, dict[str, set[str]]] = {
# - domain is the integration domain
# - package is the package (can be transitive) referencing the dependency
# - dependencyX should be the name of the referenced dependency
"go2rtc": {
# https://github.com/home-assistant-libs/python-go2rtc-client/pull/123
"go2rtc-client": {"awesomeversion"}
},
"homewizard": {
# https://github.com/homewizard/python-homewizard-energy/pull/545
"python-homewizard-energy": {"awesomeversion"}
},
"mealie": {
# https://github.com/joostlek/python-mealie/pull/490
"aiomealie": {"awesomeversion"}
},
"ollama": {
# https://github.com/ollama/ollama-python/pull/445 (not yet released)
"ollama": {"httpx"}