Bump aiohttp-asyncmdnsresolver to 0.1.0 (#137492)

changelog: https://github.com/aio-libs/aiohttp-asyncmdnsresolver/compare/v0.0.3...v0.1.0

Switches to the new AsyncDualMDNSResolver class to which
tries via mDNS and DNS for .local domains since we have
so many different user DNS configurations to support

fixes #137479
fixes #136922
pull/137688/head
J. Nick Koston 2025-02-05 21:04:52 -06:00 committed by Franck Nijhof
parent db7c2dab52
commit 1c769418fb
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
4 changed files with 6 additions and 6 deletions

View File

@ -15,7 +15,7 @@ import aiohttp
from aiohttp import web
from aiohttp.hdrs import CONTENT_TYPE, USER_AGENT
from aiohttp.web_exceptions import HTTPBadGateway, HTTPGatewayTimeout
from aiohttp_asyncmdnsresolver.api import AsyncMDNSResolver
from aiohttp_asyncmdnsresolver.api import AsyncDualMDNSResolver
from homeassistant import config_entries
from homeassistant.components import zeroconf
@ -377,5 +377,5 @@ def _async_get_connector(
@callback
def _async_make_resolver(hass: HomeAssistant) -> AsyncMDNSResolver:
return AsyncMDNSResolver(async_zeroconf=zeroconf.async_get_async_zeroconf(hass))
def _async_make_resolver(hass: HomeAssistant) -> AsyncDualMDNSResolver:
return AsyncDualMDNSResolver(async_zeroconf=zeroconf.async_get_async_zeroconf(hass))

View File

@ -4,7 +4,7 @@ aiodhcpwatcher==1.0.3
aiodiscover==2.1.0
aiodns==3.2.0
aiohasupervisor==0.3.0
aiohttp-asyncmdnsresolver==0.0.3
aiohttp-asyncmdnsresolver==0.1.0
aiohttp-fast-zlib==0.2.0
aiohttp==3.11.11
aiohttp_cors==0.7.0

View File

@ -31,7 +31,7 @@ dependencies = [
"aiohttp==3.11.11",
"aiohttp_cors==0.7.0",
"aiohttp-fast-zlib==0.2.0",
"aiohttp-asyncmdnsresolver==0.0.3",
"aiohttp-asyncmdnsresolver==0.1.0",
"aiozoneinfo==0.2.1",
"astral==2.2",
"async-interrupt==1.2.0",

2
requirements.txt generated
View File

@ -8,7 +8,7 @@ aiohasupervisor==0.3.0
aiohttp==3.11.11
aiohttp_cors==0.7.0
aiohttp-fast-zlib==0.2.0
aiohttp-asyncmdnsresolver==0.0.3
aiohttp-asyncmdnsresolver==0.1.0
aiozoneinfo==0.2.1
astral==2.2
async-interrupt==1.2.0