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
This commit is contained in:
J. Nick Koston 2023-04-03 18:02:07 -10:00 committed by GitHub
parent a854a5620f
commit 6dc55e4a3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 4 deletions

View file

@ -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],

View file

@ -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"]
} }

View file

@ -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

View file

@ -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

View file

@ -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