mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Upgrade zeroconf to 0.27.1 (#36277)
This commit is contained in:
parent
1c329ff708
commit
5e65d8d3c3
@ -3,6 +3,7 @@
|
|||||||
"name": "Discovery",
|
"name": "Discovery",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/discovery",
|
"documentation": "https://www.home-assistant.io/integrations/discovery",
|
||||||
"requirements": ["netdisco==2.6.0"],
|
"requirements": ["netdisco==2.6.0"],
|
||||||
|
"after_dependencies": ["zeroconf"],
|
||||||
"codeowners": [],
|
"codeowners": [],
|
||||||
"quality_scale": "internal"
|
"quality_scale": "internal"
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
"name": "Dyson",
|
"name": "Dyson",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/dyson",
|
"documentation": "https://www.home-assistant.io/integrations/dyson",
|
||||||
"requirements": ["libpurecool==0.6.1"],
|
"requirements": ["libpurecool==0.6.1"],
|
||||||
|
"after_dependencies": ["zeroconf"],
|
||||||
"codeowners": ["@etheralm"]
|
"codeowners": ["@etheralm"]
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
"name": "Bose Soundtouch",
|
"name": "Bose Soundtouch",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/soundtouch",
|
"documentation": "https://www.home-assistant.io/integrations/soundtouch",
|
||||||
"requirements": ["libsoundtouch==0.8"],
|
"requirements": ["libsoundtouch==0.8"],
|
||||||
|
"after_dependencies": ["zeroconf"],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
}
|
}
|
||||||
|
@ -3,5 +3,6 @@
|
|||||||
"name": "Simple Service Discovery Protocol (SSDP)",
|
"name": "Simple Service Discovery Protocol (SSDP)",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/ssdp",
|
"documentation": "https://www.home-assistant.io/integrations/ssdp",
|
||||||
"requirements": ["defusedxml==0.6.0", "netdisco==2.6.0"],
|
"requirements": ["defusedxml==0.6.0", "netdisco==2.6.0"],
|
||||||
|
"after_dependencies": ["zeroconf"],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
}
|
}
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"domain": "zeroconf",
|
"domain": "zeroconf",
|
||||||
"name": "Zero-configuration networking (zeroconf)",
|
"name": "Zero-configuration networking (zeroconf)",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/zeroconf",
|
"documentation": "https://www.home-assistant.io/integrations/zeroconf",
|
||||||
"requirements": ["zeroconf==0.26.3"],
|
"requirements": ["zeroconf==0.27.1"],
|
||||||
"dependencies": ["api"],
|
"dependencies": ["api"],
|
||||||
"codeowners": ["@robbiet480", "@Kane610"],
|
"codeowners": ["@robbiet480", "@Kane610"],
|
||||||
"quality_scale": "internal"
|
"quality_scale": "internal"
|
||||||
|
@ -25,7 +25,7 @@ ruamel.yaml==0.15.100
|
|||||||
sqlalchemy==1.3.17
|
sqlalchemy==1.3.17
|
||||||
voluptuous-serialize==2.3.0
|
voluptuous-serialize==2.3.0
|
||||||
voluptuous==0.11.7
|
voluptuous==0.11.7
|
||||||
zeroconf==0.26.3
|
zeroconf==0.27.1
|
||||||
|
|
||||||
pycryptodome>=3.6.6
|
pycryptodome>=3.6.6
|
||||||
|
|
||||||
|
@ -2242,7 +2242,7 @@ youtube_dl==2020.05.29
|
|||||||
zengge==0.2
|
zengge==0.2
|
||||||
|
|
||||||
# homeassistant.components.zeroconf
|
# homeassistant.components.zeroconf
|
||||||
zeroconf==0.26.3
|
zeroconf==0.27.1
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zha-quirks==0.0.39
|
zha-quirks==0.0.39
|
||||||
|
@ -918,7 +918,7 @@ xmltodict==0.12.0
|
|||||||
ya_ma==0.3.8
|
ya_ma==0.3.8
|
||||||
|
|
||||||
# homeassistant.components.zeroconf
|
# homeassistant.components.zeroconf
|
||||||
zeroconf==0.26.3
|
zeroconf==0.27.1
|
||||||
|
|
||||||
# homeassistant.components.zha
|
# homeassistant.components.zha
|
||||||
zha-quirks==0.0.39
|
zha-quirks==0.0.39
|
||||||
|
@ -40,7 +40,7 @@ def get_service_info_mock(service_type, name):
|
|||||||
return ServiceInfo(
|
return ServiceInfo(
|
||||||
service_type,
|
service_type,
|
||||||
name,
|
name,
|
||||||
address=b"\n\x00\x00\x14",
|
addresses=[b"\n\x00\x00\x14"],
|
||||||
port=80,
|
port=80,
|
||||||
weight=0,
|
weight=0,
|
||||||
priority=0,
|
priority=0,
|
||||||
@ -56,7 +56,7 @@ def get_homekit_info_mock(model, pairing_status):
|
|||||||
return ServiceInfo(
|
return ServiceInfo(
|
||||||
service_type,
|
service_type,
|
||||||
name,
|
name,
|
||||||
address=b"\n\x00\x00\x14",
|
addresses=[b"\n\x00\x00\x14"],
|
||||||
port=80,
|
port=80,
|
||||||
weight=0,
|
weight=0,
|
||||||
priority=0,
|
priority=0,
|
||||||
|
@ -221,8 +221,10 @@ async def test_discovery_requirements_ssdp(hass):
|
|||||||
) as mock_process:
|
) as mock_process:
|
||||||
await async_get_integration_with_requirements(hass, "ssdp_comp")
|
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
|
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(
|
@pytest.mark.parametrize(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user