guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/08: gnu: python-chardet: Update to 5.0.0.


From: guix-commits
Subject: 08/08: gnu: python-chardet: Update to 5.0.0.
Date: Sat, 16 Jul 2022 14:27:23 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 8d241c685a35227cd6b733dc16a5ca9a60480722
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Sat Jul 16 17:19:09 2022 +0200

    gnu: python-chardet: Update to 5.0.0.
    
    * gnu/packages/python-xyz.scm (python-chardet): Update to 5.0.0.
---
 gnu/packages/python-xyz.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 62ca287449..a9371dccd2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -13495,14 +13495,14 @@ simulation, statistical modeling, machine learning 
and much more.")
 (define-public python-chardet
   (package
     (name "python-chardet")
-    (version "4.0.0")
+    (version "5.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "chardet" version))
        (sha256
         (base32
-         "1ykr04qyhgpc0h5b7dhqw4g92b1xv7ki2ky910mhy4mlbnhm6vqd"))))
+         "1amqmz8731ly6f9rkbk09w4jqgmmgyxykd1bawhgrdbqzlmxys03"))))
     (native-inputs
      (list python-pytest))
     (build-system python-build-system)
@@ -13511,7 +13511,10 @@ simulation, statistical modeling, machine learning and 
much more.")
            #~(modify-phases %standard-phases
                (replace 'check
                  (lambda _
-                   (invoke "pytest" "-vv")))
+                   (invoke "pytest" "-vv" "-k"
+                           ;; Disable test that fails sporadically:
+                           ;; https://github.com/chardet/chardet/issues/256
+                           "not test_detect_all_and_detect_one_should_agree")))
                ;; This package provides a 'chardetect' executable that only
                ;; depends on Python, so customize the wrap phase to avoid
                ;; adding pytest and friends in order to save size.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]