diff --git a/pkgs/development/python-modules/aiohttp/default.nix b/pkgs/development/python-modules/aiohttp/default.nix index 14fca8dfe82..eaa8651a6c5 100644 --- a/pkgs/development/python-modules/aiohttp/default.nix +++ b/pkgs/development/python-modules/aiohttp/default.nix @@ -8,33 +8,37 @@ , async-timeout , yarl , idna-ssl +, typing-extensions +, pytestrunner , pytest , gunicorn -, pytest-mock -, async_generator -, pytestrunner , pytest-timeout +, async_generator +, pytest_xdist +, pytestcov +, pytest-mock +, trustme +, brotlipy }: buildPythonPackage rec { pname = "aiohttp"; - version = "3.4.4"; + version = "3.5.2"; src = fetchPypi { inherit pname version; - sha256 = "1ykm6kdjkrg556j0zd7dx2l1rsrbh0d9g27ivr6dmaahz9pyrbsi"; + sha256 = "3d851b15e615c0ad619de0990ab94c9721c335aebb58d160bf77a4af963c6b50"; }; 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 ] - ++ lib.optional (pythonOlder "3.7") idna-ssl; - - - # Several test failures. Need to be looked into. - doCheck = false; + ++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ]; meta = with lib; { description = "Asynchronous HTTP Client/Server for Python and asyncio"; diff --git a/pkgs/servers/home-assistant/appdaemon.nix b/pkgs/servers/home-assistant/appdaemon.nix index 15ebccbc0da..42faa01db48 100644 --- a/pkgs/servers/home-assistant/appdaemon.nix +++ b/pkgs/servers/home-assistant/appdaemon.nix @@ -11,7 +11,8 @@ let sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964"; }; # 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 {