Merge pull request #34528 from dotlambda/aiohttp

pythonPackages.aiohttp: 2.3.9 -> 2.3.10

authored by

Frederik Rietdijk and committed by
GitHub
c2b84b27 27a4a551

+36 -8
+11 -8
pkgs/development/python-modules/aiohttp/default.nix
··· 6 6 , multidict 7 7 , async-timeout 8 8 , yarl 9 + , idna-ssl 9 10 , pytest 10 11 , gunicorn 11 12 , pytest-raisesregexp 13 + , pytest-mock 12 14 }: 13 15 14 16 buildPythonPackage rec { 15 17 pname = "aiohttp"; 16 - version = "2.3.9"; 18 + version = "2.3.10"; 17 19 18 20 src = fetchPypi { 19 21 inherit pname version; 20 - sha256 = "6003bed78dc591d31bd89ef16e630a1c4fd97a3cd17b975ec945c0f46d6fc881"; 22 + sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964"; 21 23 }; 22 24 23 25 disabled = pythonOlder "3.4"; 24 26 25 - doCheck = false; # Too many tests fail. 27 + checkInputs = [ pytest gunicorn pytest-raisesregexp pytest-mock ]; 26 28 27 - checkInputs = [ pytest gunicorn pytest-raisesregexp ]; 28 - propagatedBuildInputs = [ async-timeout chardet multidict yarl ]; 29 + propagatedBuildInputs = [ async-timeout chardet multidict yarl ] 30 + ++ lib.optional (pythonOlder "3.7") idna-ssl; 29 31 30 - meta = { 31 - description = "Http client/server for asyncio"; 32 - license = with lib.licenses; [ asl20 ]; 32 + meta = with lib; { 33 + description = "Asynchronous HTTP Client/Server for Python and asyncio"; 34 + license = licenses.asl20; 33 35 homepage = https://github.com/KeepSafe/aiohttp/; 36 + maintainers = with maintainers; [ dotlambda ]; 34 37 }; 35 38 }
+23
pkgs/development/python-modules/idna-ssl/default.nix
··· 1 + { lib, buildPythonPackage, fetchPypi, idna }: 2 + 3 + buildPythonPackage rec { 4 + pname = "idna_ssl"; 5 + version = "1.0.0"; 6 + 7 + src = fetchPypi { 8 + inherit pname version; 9 + sha256 = "1227e44039bd31e02adaeafdbba61281596d623d222643fb021f87f2144ea147"; 10 + }; 11 + 12 + propagatedBuildInputs = [ idna ]; 13 + 14 + # Infinite recursion: tests require aiohttp, aiohttp requires idna-ssl 15 + doCheck = false; 16 + 17 + meta = with lib; { 18 + description = "Patch ssl.match_hostname for Unicode(idna) domains support"; 19 + homepage = https://github.com/aio-libs/idna-ssl; 20 + license = licenses.mit; 21 + maintainers = with maintainers; [ dotlambda ]; 22 + }; 23 + }
+2
pkgs/top-level/python-packages.nix
··· 5215 5215 }; 5216 5216 }; 5217 5217 5218 + idna-ssl = callPackage ../development/python-modules/idna-ssl/default.nix { }; 5219 + 5218 5220 ijson = callPackage ../development/python-modules/ijson/default.nix {}; 5219 5221 5220 5222 imagesize = buildPythonPackage rec {