From 0b60b10eb7739d0c6f4f6579ca622ca5683a9488 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Thu, 9 Jun 2022 23:02:37 +0200 Subject: [PATCH] python310Packages.requests: 2.27.1 -> 2.28.0 --- .../development/python-modules/requests/default.nix | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index be996151f984..b87be59bad86 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -1,7 +1,5 @@ { lib , stdenv -, pythonOlder -, brotli , brotlicffi , buildPythonPackage , certifi @@ -9,24 +7,22 @@ , charset-normalizer , fetchPypi , idna -, isPy27 -, isPy3k , pysocks , pytest-mock , pytest-xdist , pytestCheckHook +, pythonOlder , urllib3 }: buildPythonPackage rec { pname = "requests"; - version = "2.27.1"; - + version = "2.28.0"; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-aNfFb9WomZiHco7zBKbRLtx7508c+kdxT8i0FFJcmmE="; + hash = "sha256-1WhyOn69JYddjR6vXfoGjNL8gZSy5IPXsffIGRjb7Gs="; }; patches = [ @@ -59,9 +55,6 @@ buildPythonPackage rec { ] ++ passthru.optional-dependencies.socks; - # AttributeError: 'KeywordMapping' object has no attribute 'get' - doCheck = !isPy27; - disabledTests = [ # Disable tests that require network access and use httpbin "requests.api.request"