aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederik Rietdijk <fridh@fridh.nl>2020-11-30 17:55:00 +0100
committerFrederik Rietdijk <fridh@fridh.nl>2020-12-01 14:44:25 +0100
commit98a0342b78554ad8277f6e69e00a52683e324294 (patch)
treefc8acc94a89e272c061526565e54377dfbbf7ae4
parent98996d05de91b2a29c2e59ac1185be7b4748136a (diff)
python3Packages.aiohttp: fix build
-rw-r--r--pkgs/development/python-modules/aiohttp/default.nix15
1 files changed, 13 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix
index e18d4e5e690c..514d1d308e12 100644
--- a/pkgs/development/python-modules/aiohttp/default.nix
+++ b/pkgs/development/python-modules/aiohttp/default.nix
@@ -21,6 +21,7 @@
, brotlipy
, freezegun
, isPy38
+, re-assert
}:
buildPythonPackage rec {
@@ -37,10 +38,19 @@ buildPythonPackage rec {
checkInputs = [
pytestrunner pytestCheckHook gunicorn async_generator pytest_xdist
pytest-mock pytestcov trustme brotlipy freezegun
+ re-assert
];
- propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
- ++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ];
+ propagatedBuildInputs = [
+ attrs
+ chardet
+ multidict
+ async-timeout
+ typing-extensions
+ yarl
+ ] ++ lib.optionals (pythonOlder "3.7") [
+ idna-ssl
+ ];
disabledTests = [
# disable tests which attempt to do loopback connections
@@ -54,6 +64,7 @@ buildPythonPackage rec {
"proxy_https_bad_response"
"partially_applied_handler"
"middleware"
+ "test_mark_formdata_as_processed"
# no longer compatible with pytest>=6
"aiohttp_plugin_async_fixture"
] ++ lib.optionals stdenv.is32bit [