me
/
guix
Archived
1
0
Fork 0

gnu: python-chardet: Update to 5.0.0.

* gnu/packages/python-xyz.scm (python-chardet): Update to 5.0.0.
master
Marius Bakke 2022-07-16 17:19:09 +02:00
parent 572ed223ab
commit 8d241c685a
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 6 additions and 3 deletions

View File

@ -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.