core/homeassistant
J. Nick Koston f497c461ed
Switch to using the AsyncResolver with aiohttp (#114529)
* Bump aiodns to 3.2.0

changelog: https://github.com/saghul/aiodns/compare/v3.1.1...v3.2.0

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* Switch to using the AsyncResolver with aiohttp

This avoids creating executor jobs to do DNS resolution

AsyncResolver was not usable before https://github.com/aio-libs/aiohttp/pull/8270
because it did not fallback to fallback to A records and only returned AAAA records
in most cases when IPv6 was available

This is a backport of https://github.com/aio-libs/aiohttp/pull/8270

* fixes

* fix mocking in next_dns

* fix unmocked calls in blink

* more mocking fixes

* more fixes

* more fixes

* Fix missing mocking in nextdns tests

extracted from #114539

* extract from context
2024-04-05 23:15:51 -04:00
..
auth Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
backports Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
brands Add eq3btsmart integration (#109291) 2024-03-28 15:20:56 -10:00
components Switch configurator to use async_run_hass_job (#114993) 2024-04-05 17:02:58 -10:00
generated Allow single entry in Downloader (#114957) 2024-04-05 19:45:14 +02:00
helpers Switch to using the AsyncResolver with aiohttp (#114529) 2024-04-05 23:15:51 -04:00
scripts
util Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
__init__.py
__main__.py
block_async_io.py Detect blocking module imports in the event loop (#114488) 2024-03-30 19:51:31 -10:00
bootstrap.py Avoid useless stat() syscalls for every logger record (#114987) 2024-04-05 22:00:09 -04:00
config.py Enable Ruff TRY300 (#114437) 2024-03-30 10:37:59 +01:00
config_entries.py Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
const.py Bump version to 2024.5.0dev0 (#114324) 2024-03-27 19:43:38 +01:00
core.py Make run_immediately the default for core EventBus listeners (#113752) 2024-04-05 22:14:20 -04:00
data_entry_flow.py Enable ruff TRY401 (#114395) 2024-03-29 07:20:36 +01:00
exceptions.py
loader.py Remove unnecessary functools.cached_property backport (#114239) 2024-04-04 11:24:26 +02:00
package_constraints.txt Switch to using the AsyncResolver with aiohttp (#114529) 2024-04-05 23:15:51 -04:00
requirements.py
runner.py
setup.py Avoid trying to load platform that are known to not exist in async_prepare_setup_platform (#114659) 2024-04-02 11:22:40 -10:00
strings.json