Upgrade zeroconf to 0.27.1 (#36277)

This commit is contained in:
J. Nick Koston 2020-06-05 16:33:26 -05:00 committed by GitHub
parent 1c329ff708
commit 5e65d8d3c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 13 additions and 7 deletions

View File

@ -3,6 +3,7 @@
"name": "Discovery",
"documentation": "https://www.home-assistant.io/integrations/discovery",
"requirements": ["netdisco==2.6.0"],
"after_dependencies": ["zeroconf"],
"codeowners": [],
"quality_scale": "internal"
}

View File

@ -3,5 +3,6 @@
"name": "Dyson",
"documentation": "https://www.home-assistant.io/integrations/dyson",
"requirements": ["libpurecool==0.6.1"],
"after_dependencies": ["zeroconf"],
"codeowners": ["@etheralm"]
}

View File

@ -3,5 +3,6 @@
"name": "Bose Soundtouch",
"documentation": "https://www.home-assistant.io/integrations/soundtouch",
"requirements": ["libsoundtouch==0.8"],
"after_dependencies": ["zeroconf"],
"codeowners": []
}

View File

@ -3,5 +3,6 @@
"name": "Simple Service Discovery Protocol (SSDP)",
"documentation": "https://www.home-assistant.io/integrations/ssdp",
"requirements": ["defusedxml==0.6.0", "netdisco==2.6.0"],
"after_dependencies": ["zeroconf"],
"codeowners": []
}

View File

@ -2,7 +2,7 @@
"domain": "zeroconf",
"name": "Zero-configuration networking (zeroconf)",
"documentation": "https://www.home-assistant.io/integrations/zeroconf",
"requirements": ["zeroconf==0.26.3"],
"requirements": ["zeroconf==0.27.1"],
"dependencies": ["api"],
"codeowners": ["@robbiet480", "@Kane610"],
"quality_scale": "internal"

View File

@ -25,7 +25,7 @@ ruamel.yaml==0.15.100
sqlalchemy==1.3.17
voluptuous-serialize==2.3.0
voluptuous==0.11.7
zeroconf==0.26.3
zeroconf==0.27.1
pycryptodome>=3.6.6

View File

@ -2242,7 +2242,7 @@ youtube_dl==2020.05.29
zengge==0.2
# homeassistant.components.zeroconf
zeroconf==0.26.3
zeroconf==0.27.1
# homeassistant.components.zha
zha-quirks==0.0.39

View File

@ -918,7 +918,7 @@ xmltodict==0.12.0
ya_ma==0.3.8
# homeassistant.components.zeroconf
zeroconf==0.26.3
zeroconf==0.27.1
# homeassistant.components.zha
zha-quirks==0.0.39

View File

@ -40,7 +40,7 @@ def get_service_info_mock(service_type, name):
return ServiceInfo(
service_type,
name,
address=b"\n\x00\x00\x14",
addresses=[b"\n\x00\x00\x14"],
port=80,
weight=0,
priority=0,
@ -56,7 +56,7 @@ def get_homekit_info_mock(model, pairing_status):
return ServiceInfo(
service_type,
name,
address=b"\n\x00\x00\x14",
addresses=[b"\n\x00\x00\x14"],
port=80,
weight=0,
priority=0,

View File

@ -221,8 +221,10 @@ async def test_discovery_requirements_ssdp(hass):
) as mock_process:
await async_get_integration_with_requirements(hass, "ssdp_comp")
assert len(mock_process.mock_calls) == 1
assert len(mock_process.mock_calls) == 3
assert mock_process.mock_calls[0][1][2] == ssdp.requirements
# Ensure zeroconf is a dep for ssdp
assert mock_process.mock_calls[1][1][1] == "zeroconf"
@pytest.mark.parametrize(