From 7f926a944ae553072f1e4bf7d8c5e341a23d18c7 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 25 Aug 2024 13:18:31 +0200 Subject: [PATCH] setup.py: Do not install aiodns on windows (fix #3556) aiodns is broken on the default windows event loop and the workaround has significant downsides. This has downsides too as it prevents resolution of SRV records by default. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1b32cba4..fc3fc474 100755 --- a/setup.py +++ b/setup.py @@ -87,7 +87,7 @@ setup( packages=packages, ext_modules=ext_modules, install_requires=[ - 'aiodns>=1.0', + 'aiodns >= 1.0; sys_platform=="linux" or sys_platform=="darwin"', 'pyasn1', 'pyasn1_modules', 'typing_extensions; python_version < "3.8.0"',