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 #136922pull/137688/head
parent
db7c2dab52
commit
1c769418fb
|
@ -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))
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue