pythonPackages.aiohttp: 2.3.9 -> 2.3.10 and enable tests

This commit is contained in:
Robert Schütz 2018-02-02 15:13:31 +01:00
parent b403a17db8
commit 7f53156859

View File

@ -6,30 +6,33 @@
, multidict , multidict
, async-timeout , async-timeout
, yarl , yarl
, idna-ssl
, pytest , pytest
, gunicorn , gunicorn
, pytest-raisesregexp , pytest-raisesregexp
, pytest-mock
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "aiohttp"; pname = "aiohttp";
version = "2.3.9"; version = "2.3.10";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "6003bed78dc591d31bd89ef16e630a1c4fd97a3cd17b975ec945c0f46d6fc881"; sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
}; };
disabled = pythonOlder "3.4"; disabled = pythonOlder "3.4";
doCheck = false; # Too many tests fail. checkInputs = [ pytest gunicorn pytest-raisesregexp pytest-mock ];
checkInputs = [ pytest gunicorn pytest-raisesregexp ]; propagatedBuildInputs = [ async-timeout chardet multidict yarl ]
propagatedBuildInputs = [ async-timeout chardet multidict yarl ]; ++ lib.optional (pythonOlder "3.7") idna-ssl;
meta = { meta = with lib; {
description = "Http client/server for asyncio"; description = "Asynchronous HTTP Client/Server for Python and asyncio";
license = with lib.licenses; [ asl20 ]; license = licenses.asl20;
homepage = https://github.com/KeepSafe/aiohttp/; homepage = https://github.com/KeepSafe/aiohttp/;
maintainers = with maintainers; [ dotlambda ];
}; };
} }