From d17f2a4cfb4fedc8cc9bede160a41a46b7a9e45d Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Sat, 3 May 2025 12:59:35 -0500 Subject: [PATCH] Remove constraint that excluded aiodns from optional deps on Windows (#10823) Remove constraint that prevented aiodns from being installed on Windows As of aiodns 3.3.0 SelectorEventLoop is no longer required when using pycares 4.7.0 or later --- CHANGES/10823.packaging.rst | 3 +++ requirements/runtime-deps.in | 2 +- setup.cfg | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 CHANGES/10823.packaging.rst diff --git a/CHANGES/10823.packaging.rst b/CHANGES/10823.packaging.rst new file mode 100644 index 00000000000..c65f8bea795 --- /dev/null +++ b/CHANGES/10823.packaging.rst @@ -0,0 +1,3 @@ +``aiodns`` is now installed on Windows with speedups extra -- by :user:`bdraco`. + +As of ``aiodns`` 3.3.0, ``SelectorEventLoop`` is no longer required when using ``pycares`` 4.7.0 or later. diff --git a/requirements/runtime-deps.in b/requirements/runtime-deps.in index 4dcf7a1dea3..268ace3c9c7 100644 --- a/requirements/runtime-deps.in +++ b/requirements/runtime-deps.in @@ -1,6 +1,6 @@ # Extracted from `setup.cfg` via `make sync-direct-runtime-deps` -aiodns >= 3.2.0; sys_platform=="linux" or sys_platform=="darwin" +aiodns >= 3.3.0 aiohappyeyeballs >= 2.5.0 aiosignal >= 1.1.2 async-timeout >= 4.0, < 6.0 ; python_version < "3.11" diff --git a/setup.cfg b/setup.cfg index c3c6e0270a1..0e6fae807f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -66,8 +66,7 @@ install_requires = [options.extras_require] speedups = - # required c-ares (aiodns' backend) will not build on windows - aiodns >= 3.2.0; sys_platform=="linux" or sys_platform=="darwin" + aiodns >= 3.3.0 Brotli; platform_python_implementation == 'CPython' brotlicffi; platform_python_implementation != 'CPython'