mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
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
This commit is contained in:
parent
38b5dff2ef
commit
d1b22312ac
@ -15,7 +15,7 @@ import aiohttp
|
|||||||
from aiohttp import web
|
from aiohttp import web
|
||||||
from aiohttp.hdrs import CONTENT_TYPE, USER_AGENT
|
from aiohttp.hdrs import CONTENT_TYPE, USER_AGENT
|
||||||
from aiohttp.web_exceptions import HTTPBadGateway, HTTPGatewayTimeout
|
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 import config_entries
|
||||||
from homeassistant.components import zeroconf
|
from homeassistant.components import zeroconf
|
||||||
@ -377,5 +377,5 @@ def _async_get_connector(
|
|||||||
|
|
||||||
|
|
||||||
@callback
|
@callback
|
||||||
def _async_make_resolver(hass: HomeAssistant) -> AsyncMDNSResolver:
|
def _async_make_resolver(hass: HomeAssistant) -> AsyncDualMDNSResolver:
|
||||||
return AsyncMDNSResolver(async_zeroconf=zeroconf.async_get_async_zeroconf(hass))
|
return AsyncDualMDNSResolver(async_zeroconf=zeroconf.async_get_async_zeroconf(hass))
|
||||||
|
@ -4,7 +4,7 @@ aiodhcpwatcher==1.1.0
|
|||||||
aiodiscover==2.2.2
|
aiodiscover==2.2.2
|
||||||
aiodns==3.2.0
|
aiodns==3.2.0
|
||||||
aiohasupervisor==0.3.0
|
aiohasupervisor==0.3.0
|
||||||
aiohttp-asyncmdnsresolver==0.0.3
|
aiohttp-asyncmdnsresolver==0.1.0
|
||||||
aiohttp-fast-zlib==0.2.2
|
aiohttp-fast-zlib==0.2.2
|
||||||
aiohttp==3.11.11
|
aiohttp==3.11.11
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
|
@ -31,7 +31,7 @@ dependencies = [
|
|||||||
"aiohttp==3.11.11",
|
"aiohttp==3.11.11",
|
||||||
"aiohttp_cors==0.7.0",
|
"aiohttp_cors==0.7.0",
|
||||||
"aiohttp-fast-zlib==0.2.2",
|
"aiohttp-fast-zlib==0.2.2",
|
||||||
"aiohttp-asyncmdnsresolver==0.0.3",
|
"aiohttp-asyncmdnsresolver==0.1.0",
|
||||||
"aiozoneinfo==0.2.3",
|
"aiozoneinfo==0.2.3",
|
||||||
"astral==2.2",
|
"astral==2.2",
|
||||||
"async-interrupt==1.2.1",
|
"async-interrupt==1.2.1",
|
||||||
|
2
requirements.txt
generated
2
requirements.txt
generated
@ -8,7 +8,7 @@ aiohasupervisor==0.3.0
|
|||||||
aiohttp==3.11.11
|
aiohttp==3.11.11
|
||||||
aiohttp_cors==0.7.0
|
aiohttp_cors==0.7.0
|
||||||
aiohttp-fast-zlib==0.2.2
|
aiohttp-fast-zlib==0.2.2
|
||||||
aiohttp-asyncmdnsresolver==0.0.3
|
aiohttp-asyncmdnsresolver==0.1.0
|
||||||
aiozoneinfo==0.2.3
|
aiozoneinfo==0.2.3
|
||||||
astral==2.2
|
astral==2.2
|
||||||
async-interrupt==1.2.1
|
async-interrupt==1.2.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user