From f86eeb56582c4349ac82c3ad42e81317e96be18c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 11 Oct 2021 00:27:13 +0200 Subject: [PATCH] python3Packages.requests: always provide chardet Migrating to charset-normalizer caused a few encoding issues visible in for example python3Packages.praw. --- pkgs/development/python-modules/requests/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/requests/default.nix b/pkgs/development/python-modules/requests/default.nix index 44c5b7331d61..8ba7aef46074 100644 --- a/pkgs/development/python-modules/requests/default.nix +++ b/pkgs/development/python-modules/requests/default.nix @@ -39,12 +39,12 @@ buildPythonPackage rec { certifi idna urllib3 + chardet ] ++ lib.optionals (isPy3k) [ brotlicffi charset-normalizer ] ++ lib.optionals (isPy27) [ brotli - chardet ]; checkInputs = [