Merge pull request #177096 from SuperSandro2000/python310Packages.requests

python310Packages.requests: 2.27.1 -> 2.28.0

authored by Sandro and committed by GitHub 650410ef 46b42d97

+3 -10
+3 -10
pkgs/development/python-modules/requests/default.nix
··· 1 { lib 2 , stdenv 3 - , pythonOlder 4 - , brotli 5 , brotlicffi 6 , buildPythonPackage 7 , certifi ··· 9 , charset-normalizer 10 , fetchPypi 11 , idna 12 - , isPy27 13 - , isPy3k 14 , pysocks 15 , pytest-mock 16 , pytest-xdist 17 , pytestCheckHook 18 , urllib3 19 }: 20 21 buildPythonPackage rec { 22 pname = "requests"; 23 - version = "2.27.1"; 24 - 25 disabled = pythonOlder "3.7"; 26 27 src = fetchPypi { 28 inherit pname version; 29 - hash = "sha256-aNfFb9WomZiHco7zBKbRLtx7508c+kdxT8i0FFJcmmE="; 30 }; 31 32 patches = [ ··· 58 pytestCheckHook 59 ] 60 ++ passthru.optional-dependencies.socks; 61 - 62 - # AttributeError: 'KeywordMapping' object has no attribute 'get' 63 - doCheck = !isPy27; 64 65 disabledTests = [ 66 # Disable tests that require network access and use httpbin
··· 1 { lib 2 , stdenv 3 , brotlicffi 4 , buildPythonPackage 5 , certifi ··· 7 , charset-normalizer 8 , fetchPypi 9 , idna 10 , pysocks 11 , pytest-mock 12 , pytest-xdist 13 , pytestCheckHook 14 + , pythonOlder 15 , urllib3 16 }: 17 18 buildPythonPackage rec { 19 pname = "requests"; 20 + version = "2.28.0"; 21 disabled = pythonOlder "3.7"; 22 23 src = fetchPypi { 24 inherit pname version; 25 + hash = "sha256-1WhyOn69JYddjR6vXfoGjNL8gZSy5IPXsffIGRjb7Gs="; 26 }; 27 28 patches = [ ··· 54 pytestCheckHook 55 ] 56 ++ passthru.optional-dependencies.socks; 57 58 disabledTests = [ 59 # Disable tests that require network access and use httpbin