1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

pythonPackages.aiohttp: disable tests

This commit is contained in:
Frederik Rietdijk 2019-06-15 08:42:51 +02:00
parent eda6360cb9
commit 3cf9c7163f

View file

@ -40,6 +40,14 @@ buildPythonPackage rec {
propagatedBuildInputs = [ attrs chardet multidict async-timeout yarl ]
++ lib.optionals (pythonOlder "3.7") [ idna-ssl typing-extensions ];
# Don't error on cryptography deprecation warning
postPatch = ''
substituteInPlace pytest.ini --replace "filterwarnings = error" ""
'';
# coroutine 'noop2' was never awaited
doCheck = false;
meta = with lib; {
description = "Asynchronous HTTP Client/Server for Python and asyncio";
license = licenses.asl20;