summary refs log tree commit diff
path: root/pkgs/development/python-modules/chardet/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/python-modules/chardet/default.nix')
-rw-r--r--pkgs/development/python-modules/chardet/default.nix9
1 files changed, 7 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/chardet/default.nix b/pkgs/development/python-modules/chardet/default.nix
index 7753d6ccfde..b5cca5110e7 100644
--- a/pkgs/development/python-modules/chardet/default.nix
+++ b/pkgs/development/python-modules/chardet/default.nix
@@ -8,12 +8,12 @@
 
 buildPythonPackage rec {
   pname = "chardet";
-  version = "4.0.0";
+  version = "5.0.0";
   disabled = pythonOlder "3.6";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "sha256-DW9ToV20Eg8rCMlPEefZPSyRHuEYtrMKBOw+6DEBefo=";
+    sha256 = "sha256-A2jfK/14tfwgVyu06bt/tT4sCU9grpmTM56GcdCvuKo=";
   };
 
   checkInputs = [
@@ -21,6 +21,11 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  disabledTests = [
+    # flaky; https://github.com/chardet/chardet/issues/256
+    "test_detect_all_and_detect_one_should_agree"
+  ];
+
   pythonImportsCheck = [ "chardet" ];
 
   meta = with lib; {