lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python3Packages.aiohttp: 3.7.4.post0 -> 3.8.0

https://github.com/aio-libs/aiohttp/releases/tag/v3.8.0

+33 -15
+32 -12
pkgs/development/python-modules/aiohttp/default.nix
··· 3 3 , buildPythonPackage 4 4 , fetchPypi 5 5 , pythonOlder 6 - , async-timeout 6 + # install_requires 7 7 , attrs 8 - , chardet 9 - , idna-ssl 8 + , charset-normalizer 10 9 , multidict 11 - , typing-extensions 10 + , async-timeout 12 11 , yarl 12 + , frozenlist 13 + , aiosignal 14 + , aiodns 15 + , brotli 16 + , cchardet 17 + , asynctest 18 + , typing-extensions 19 + , idna-ssl 20 + # tests_require 13 21 , async_generator 14 - , brotlipy 15 22 , freezegun 16 23 , gunicorn 17 24 , pytest-mock ··· 22 29 23 30 buildPythonPackage rec { 24 31 pname = "aiohttp"; 25 - version = "3.7.4.post0"; 32 + version = "3.8.0"; 26 33 disabled = pythonOlder "3.6"; 27 34 28 35 src = fetchPypi { 29 36 inherit pname version; 30 - sha256 = "493d3299ebe5f5a7c66b9819eacdcfbbaaf1a8e84911ddffcdc48888497afecf"; 37 + sha256 = "sha256-07GdjRg7z9aLJb7rq43DMIKC/iyj1uo8tM0QGzwnn40="; 31 38 }; 32 39 33 40 postPatch = '' 34 - substituteInPlace setup.cfg --replace " --cov=aiohttp" "" 41 + sed -i '/--cov/d' setup.cfg 35 42 ''; 36 43 37 44 propagatedBuildInputs = [ 38 - async-timeout 39 45 attrs 40 - chardet 46 + charset-normalizer 41 47 multidict 48 + async-timeout 49 + yarl 42 50 typing-extensions 43 - yarl 51 + frozenlist 52 + aiosignal 53 + aiodns 54 + brotli 55 + cchardet 56 + ] ++ lib.optionals (pythonOlder "3.8") [ 57 + asynctest 58 + typing-extensions 44 59 ] ++ lib.optionals (pythonOlder "3.7") [ 45 60 idna-ssl 46 61 ]; 47 62 48 63 checkInputs = [ 49 64 async_generator 50 - brotlipy 51 65 freezegun 52 66 gunicorn 53 67 pytest-mock ··· 58 72 59 73 disabledTests = [ 60 74 # Disable tests that require network access 75 + "test_client_session_timeout_zero" 61 76 "test_mark_formdata_as_processed" 77 + "test_requote_redirect_url_default" 62 78 ] ++ lib.optionals stdenv.is32bit [ 63 79 "test_cookiejar" 64 80 ] ++ lib.optionals stdenv.isDarwin [ 65 81 "test_addresses" # https://github.com/aio-libs/aiohttp/issues/3572, remove >= v4.0.0 66 82 "test_close" 83 + ]; 84 + 85 + disabledTestPaths = [ 86 + "test_proxy_functional.py" # FIXME package proxy.py 67 87 ]; 68 88 69 89 __darwinAllowLocalNetworking = true;
+1 -3
pkgs/top-level/python-packages.nix
··· 293 293 294 294 aiohomekit = callPackage ../development/python-modules/aiohomekit { }; 295 295 296 - aiohttp = callPackage ../development/python-modules/aiohttp { 297 - pytestCheckHook = self.pytestCheckHook_6_1; 298 - }; 296 + aiohttp = callPackage ../development/python-modules/aiohttp { }; 299 297 300 298 aiohttp-cors = callPackage ../development/python-modules/aiohttp-cors { }; 301 299