diff options
author | Vinicius Monego <monego@posteo.net> | 2025-06-22 12:31:32 -0300 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2025-06-22 12:41:00 -0300 |
commit | 8696eca5c0c677391bc6d719450614cfaf7db286 (patch) | |
tree | 128485dad2d42b8eef9554f42116308945570fcb /gnu/packages/python-science.scm | |
parent | e660638d0de2fa6ab298f138e37e1a8304e337fc (diff) |
gnu: python-pyjanitor: Update to 0.31.0.
* gnu/packages/python-science.scm (python-pyjanitor): Update to 0.31.0.
[arguments]<#:test-flags>: Skip tests depending on Polars. Enable
previously failing test.
<#:phases>: Delete unnecessary phase 'pandas-compat'.
Change-Id: I2991e06fafea2928bb6ea45c42624bf372da2eba
Diffstat (limited to 'gnu/packages/python-science.scm')
-rw-r--r-- | gnu/packages/python-science.scm | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 8bab7b81d3..0ab8a6ad8a 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -2427,7 +2427,7 @@ production-critical data pipelines or reproducible research settings. With (define-public python-pyjanitor (package (name "python-pyjanitor") - (version "0.27.0") + (version "0.31.0") (source (origin ;; The build requires the mkdocs directory for the description in @@ -2438,7 +2438,7 @@ production-critical data pipelines or reproducible research settings. With (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "04vsg189msv8frx4zhpcg61djl7wsfvibmz0zmiih4rvkgly2cdr")))) + (base32 "06y6fvydrsjqdpbd20icd194693x127qhb19fgw248jfjyg5ga44")))) (build-system pyproject-build-system) ;; Pyjanitor has an extensive test suite. For quick debugging, the tests ;; marked turtle can be skipped using "-m" "not turtle". @@ -2449,22 +2449,16 @@ production-critical data pipelines or reproducible research settings. With ;; Tries to connect to the internet. "-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") + " and not test_read_commandline_bad_cmd") ;; Test files are not included "--ignore=tests/io/test_read_csvs.py" + ;; Polars has not been packaged yet. + "--ignore=tests/polars" ;; PySpark has not been packaged yet. "--ignore=tests/spark/functions/test_clean_names_spark.py" "--ignore=tests/spark/functions/test_update_where_spark.py") #:phases #~(modify-phases %standard-phases - ;; Pandas 2.1.1 does not offer the BME frequency. - (add-after 'unpack 'pandas-compat - (lambda _ - (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 |