Bump aiodns to 3.3.0 (#144115)

This commit is contained in:
J. Nick Koston 2025-05-02 15:53:19 -05:00 committed by GitHub
parent 247d2e7efd
commit e74f918382
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 20 additions and 16 deletions

View File

@ -5,5 +5,5 @@
"config_flow": true,
"documentation": "https://www.home-assistant.io/integrations/dnsip",
"iot_class": "cloud_polling",
"requirements": ["aiodns==3.2.0"]
"requirements": ["aiodns==3.3.0"]
}

View File

@ -2,7 +2,7 @@
aiodhcpwatcher==1.1.1
aiodiscover==2.6.1
aiodns==3.2.0
aiodns==3.3.0
aiohasupervisor==0.3.1
aiohttp-asyncmdnsresolver==0.1.1
aiohttp-fast-zlib==0.2.3

View File

@ -23,7 +23,7 @@ classifiers = [
]
requires-python = ">=3.13.2"
dependencies = [
"aiodns==3.2.0",
"aiodns==3.3.0",
# Integrations may depend on hassio integration without listing it to
# change behavior based on presence of supervisor. Deprecated with #127228
# Lib can be removed with 2025.11

2
requirements.txt generated
View File

@ -3,7 +3,7 @@
-c homeassistant/package_constraints.txt
# Home Assistant Core
aiodns==3.2.0
aiodns==3.3.0
aiohasupervisor==0.3.1
aiohttp==3.11.18
aiohttp_cors==0.7.0

2
requirements_all.txt generated
View File

@ -223,7 +223,7 @@ aiodhcpwatcher==1.1.1
aiodiscover==2.6.1
# homeassistant.components.dnsip
aiodns==3.2.0
aiodns==3.3.0
# homeassistant.components.duke_energy
aiodukeenergy==0.3.0

View File

@ -211,7 +211,7 @@ aiodhcpwatcher==1.1.1
aiodiscover==2.6.1
# homeassistant.components.dnsip
aiodns==3.2.0
aiodns==3.3.0
# homeassistant.components.duke_energy
aiodukeenergy==0.3.0

View File

@ -224,16 +224,20 @@ async def test_options_flow(hass: HomeAssistant) -> None:
assert result["type"] is FlowResultType.FORM
assert result["step_id"] == "init"
result = await hass.config_entries.options.async_configure(
result["flow_id"],
user_input={
CONF_RESOLVER: "8.8.8.8",
CONF_RESOLVER_IPV6: "2001:4860:4860::8888",
CONF_PORT: 53,
CONF_PORT_IPV6: 53,
},
)
await hass.async_block_till_done()
with patch(
"homeassistant.components.dnsip.config_flow.aiodns.DNSResolver",
return_value=RetrieveDNS(),
):
result = await hass.config_entries.options.async_configure(
result["flow_id"],
user_input={
CONF_RESOLVER: "8.8.8.8",
CONF_RESOLVER_IPV6: "2001:4860:4860::8888",
CONF_PORT: 53,
CONF_PORT_IPV6: 53,
},
)
await hass.async_block_till_done()
assert result["type"] is FlowResultType.CREATE_ENTRY
assert result["data"] == {