Skip to content
Snippets Groups Projects
Unverified Commit 6dc55e4a authored by J. Nick Koston's avatar J. Nick Koston Committed by GitHub
Browse files

Bump zeroconf to 0.54.0 (#90744)

* Bump zeroconf to 0.54.0

fixes incorrect addresses when the server name changes

changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.53.0...0.54.0

* fix
parent a854a562
No related branches found
No related tags found
No related merge requests found
...@@ -574,6 +574,7 @@ def info_from_service(service: AsyncServiceInfo) -> ZeroconfServiceInfo | None: ...@@ -574,6 +574,7 @@ def info_from_service(service: AsyncServiceInfo) -> ZeroconfServiceInfo | None:
if not host: if not host:
return None return None
assert service.server is not None, "server cannot be none if there are addresses"
return ZeroconfServiceInfo( return ZeroconfServiceInfo(
host=host, host=host,
addresses=[str(ip_addr) for ip_addr in ip_addresses], addresses=[str(ip_addr) for ip_addr in ip_addresses],
......
...@@ -8,5 +8,5 @@ ...@@ -8,5 +8,5 @@
"iot_class": "local_push", "iot_class": "local_push",
"loggers": ["zeroconf"], "loggers": ["zeroconf"],
"quality_scale": "internal", "quality_scale": "internal",
"requirements": ["zeroconf==0.53.0"] "requirements": ["zeroconf==0.54.0"]
} }
...@@ -50,7 +50,7 @@ ulid-transform==0.5.1 ...@@ -50,7 +50,7 @@ ulid-transform==0.5.1
voluptuous-serialize==2.6.0 voluptuous-serialize==2.6.0
voluptuous==0.13.1 voluptuous==0.13.1
yarl==1.8.1 yarl==1.8.1
zeroconf==0.53.0 zeroconf==0.54.0
# Constrain pycryptodome to avoid vulnerability # Constrain pycryptodome to avoid vulnerability
# see https://github.com/home-assistant/core/pull/16238 # see https://github.com/home-assistant/core/pull/16238
......
...@@ -2692,7 +2692,7 @@ zamg==0.2.2 ...@@ -2692,7 +2692,7 @@ zamg==0.2.2
zengge==0.2 zengge==0.2
# homeassistant.components.zeroconf # homeassistant.components.zeroconf
zeroconf==0.53.0 zeroconf==0.54.0
# homeassistant.components.zeversolar # homeassistant.components.zeversolar
zeversolar==0.3.1 zeversolar==0.3.1
......
...@@ -1935,7 +1935,7 @@ youless-api==1.0.1 ...@@ -1935,7 +1935,7 @@ youless-api==1.0.1
zamg==0.2.2 zamg==0.2.2
# homeassistant.components.zeroconf # homeassistant.components.zeroconf
zeroconf==0.53.0 zeroconf==0.54.0
# homeassistant.components.zeversolar # homeassistant.components.zeversolar
zeversolar==0.3.1 zeversolar==0.3.1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment