python3Packages.aiohttp: only depend on async-timeout for Python < 3.11

This commit is contained in:
Robert Schütz
2025-10-19 18:44:11 -07:00
parent 071162ccce
commit 7617aa5f11
@@ -94,15 +94,18 @@ buildPythonPackage rec {
dependencies = [
aiohappyeyeballs
aiosignal
async-timeout
attrs
frozenlist
multidict
propcache
yarl
]
++ lib.optionals (pythonOlder "3.11") [
async-timeout
]
++ optional-dependencies.speedups;
optional-dependencies.speedups = [
aiodns
(if isPyPy then brotlicffi else brotli)