gnu: python-pyjanitor: Update to 0.27.0.
* gnu/packages/python-science.scm (python-pyjanitor): Update to 0.27.0. [arguments]: Disable a few more tests; add phase 'pandas-compat. Change-Id: Ia8891971a687342166f30ded11f9e341a208d95e
This commit is contained in:
parent
5def84031f
commit
6962b32a2b
@ -1147,7 +1147,7 @@ production-critical data pipelines or reproducible research settings. With
|
|||||||
(define-public python-pyjanitor
|
(define-public python-pyjanitor
|
||||||
(package
|
(package
|
||||||
(name "python-pyjanitor")
|
(name "python-pyjanitor")
|
||||||
(version "0.26.0")
|
(version "0.27.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
;; The build requires the mkdocs directory for the description in
|
;; The build requires the mkdocs directory for the description in
|
||||||
@ -1158,7 +1158,7 @@ production-critical data pipelines or reproducible research settings. With
|
|||||||
(commit (string-append "v" version))))
|
(commit (string-append "v" version))))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1f8xbl1k9l2z56bapp7v6bd3016zrk48igcaz6hb553r6yfl7vfx"))))
|
(base32 "04vsg189msv8frx4zhpcg61djl7wsfvibmz0zmiih4rvkgly2cdr"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
;; Pyjanitor has an extensive test suite. For quick debugging, the tests
|
;; Pyjanitor has an extensive test suite. For quick debugging, the tests
|
||||||
;; marked turtle can be skipped using "-m" "not turtle".
|
;; marked turtle can be skipped using "-m" "not turtle".
|
||||||
@ -1167,16 +1167,29 @@ production-critical data pipelines or reproducible research settings. With
|
|||||||
#:test-flags '(list
|
#:test-flags '(list
|
||||||
"-n" (number->string (parallel-job-count))
|
"-n" (number->string (parallel-job-count))
|
||||||
;; Tries to connect to the internet.
|
;; Tries to connect to the internet.
|
||||||
"-k" "not test_is_connected"
|
"-k" (string-append "not test_is_connected"
|
||||||
|
;; Test files are not included
|
||||||
|
" and not test_read_commandline_bad_cmd"
|
||||||
|
;; This fails due to differences in accuracy
|
||||||
|
" and not test_jitter_results")
|
||||||
|
;; Test files are not included
|
||||||
|
"--ignore=tests/io/test_read_csvs.py"
|
||||||
;; PySpark has not been packaged yet.
|
;; PySpark has not been packaged yet.
|
||||||
"--ignore=tests/spark/functions/test_clean_names_spark.py"
|
"--ignore=tests/spark/functions/test_clean_names_spark.py"
|
||||||
"--ignore=tests/spark/functions/test_update_where_spark.py")
|
"--ignore=tests/spark/functions/test_update_where_spark.py")
|
||||||
#:phases #~(modify-phases %standard-phases
|
#:phases
|
||||||
(add-before 'check 'set-env-ci
|
#~(modify-phases %standard-phases
|
||||||
(lambda _
|
;; Pandas 2.1.1 does not offer the BME frequency.
|
||||||
;; Some tests are skipped if the JANITOR_CI_MACHINE
|
(add-after 'unpack 'pandas-compat
|
||||||
;; variable is not set.
|
(lambda _
|
||||||
(setenv "JANITOR_CI_MACHINE" "1"))))))
|
(substitute* '("tests/functions/test_select_rows.py"
|
||||||
|
"tests/functions/test_select_columns.py")
|
||||||
|
(("freq=\"BME\"") "freq=\"BM\""))))
|
||||||
|
(add-before 'check 'set-env-ci
|
||||||
|
(lambda _
|
||||||
|
;; Some tests are skipped if the JANITOR_CI_MACHINE
|
||||||
|
;; variable is not set.
|
||||||
|
(setenv "JANITOR_CI_MACHINE" "1"))))))
|
||||||
(propagated-inputs (list python-multipledispatch
|
(propagated-inputs (list python-multipledispatch
|
||||||
python-natsort
|
python-natsort
|
||||||
python-pandas-flavor
|
python-pandas-flavor
|
||||||
|
Loading…
x
Reference in New Issue
Block a user