python3.pkgs.aiohttp: 3.4.4 -> 3.5.2
This commit is contained in:
parent
9d08f32da6
commit
cc70439e11
@ -8,33 +8,37 @@
|
|||||||
, async-timeout
|
, async-timeout
|
||||||
, yarl
|
, yarl
|
||||||
, idna-ssl
|
, idna-ssl
|
||||||
|
, typing-extensions
|
||||||
|
, pytestrunner
|
||||||
, pytest
|
, pytest
|
||||||
, gunicorn
|
, gunicorn
|
||||||
, pytest-mock
|
|
||||||
, async_generator
|
|
||||||
, pytestrunner
|
|
||||||
, pytest-timeout
|
, pytest-timeout
|
||||||
|
, async_generator
|
||||||
|
, pytest_xdist
|
||||||
|
, pytestcov
|
||||||
|
, pytest-mock
|
||||||
|
, trustme
|
||||||
|
, brotlipy
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "aiohttp";
|
pname = "aiohttp";
|
||||||
version = "3.4.4";
|
version = "3.5.2";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "1ykm6kdjkrg556j0zd7dx2l1rsrbh0d9g27ivr6dmaahz9pyrbsi";
|
sha256 = "3d851b15e615c0ad619de0990ab94c9721c335aebb58d160bf77a4af963c6b50";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.5";
|
disabled = pythonOlder "3.5";
|
||||||
|
|
||||||
checkInputs = [ pytest gunicorn pytest-mock async_generator pytestrunner pytest-timeout ];
|
checkInputs = [
|
||||||
|
pytestrunner pytest gunicorn pytest-timeout async_generator pytest_xdist
|
||||||
|
pytest-mock pytestcov trustme brotlipy
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
|
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
|
||||||
++ lib.optional (pythonOlder "3.7") idna-ssl;
|
++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ];
|
||||||
|
|
||||||
|
|
||||||
# Several test failures. Need to be looked into.
|
|
||||||
doCheck = false;
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Asynchronous HTTP Client/Server for Python and asyncio";
|
description = "Asynchronous HTTP Client/Server for Python and asyncio";
|
||||||
|
@ -11,7 +11,8 @@ let
|
|||||||
sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
|
sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
|
||||||
};
|
};
|
||||||
# TODO: remove after pinning aiohttp to a newer version
|
# TODO: remove after pinning aiohttp to a newer version
|
||||||
propagatedBuildInputs = oldAttrs.propagatedBuildInputs ++ [ self.idna-ssl ];
|
propagatedBuildInputs = with self; [ chardet multidict async-timeout yarl idna-ssl ];
|
||||||
|
doCheck = false;
|
||||||
});
|
});
|
||||||
|
|
||||||
yarl = super.yarl.overridePythonAttrs (oldAttrs: rec {
|
yarl = super.yarl.overridePythonAttrs (oldAttrs: rec {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user