python311Packages.aiohttp: prune dependencnies

We don't ship any Python that is older than 3.8 anymore.
This commit is contained in:
Martin Weinelt 2023-10-27 14:26:31 +02:00
parent 8b0edc9c50
commit 3547f37141
No known key found for this signature in database
GPG Key ID: 87C1E9888F856759

View File

@ -18,9 +18,7 @@
, aiodns
, brotli
, faust-cchardet
, asynctest
, typing-extensions
, idna-ssl
# tests_require
, async-generator
, freezegun
@ -75,11 +73,6 @@ buildPythonPackage rec {
aiodns
brotli
faust-cchardet
] ++ lib.optionals (pythonOlder "3.8") [
asynctest
typing-extensions
] ++ lib.optionals (pythonOlder "3.7") [
idna-ssl
];
# NOTE: pytest-xdist cannot be added because it is flaky. See https://github.com/NixOS/nixpkgs/issues/230597 for more info.