python3Packages.aiohttp: only depend on async-timeout for Python < 3.11
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user