From 82c0091495ce6c20a46cdeae9494ff040823912f Mon Sep 17 00:00:00 2001 From: Hugo Buddelmeijer Date: Sun, 12 Jul 2026 15:30:13 +0200 Subject: gnu: python-tdda: Update to 3.2.03. * gnu/packages/python-science.scm (python-tdda): Update to 3.2.03. [arguments]<#:test-flags>: Update deselected tests; add comments. [native-inputs]: Add tzdata-for-tests. Relates-to: guix/guix!9885 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-science.scm | 35 ++++++++++++++++------------------- 1 file changed, 16 insertions(+), 19 deletions(-) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 392044eadc1..815e942cabe 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -4116,7 +4116,7 @@ depends on @code{scipy.sparse} for some computations.") (define-public python-tdda (package (name "python-tdda") - (version "3.0.02") + (version "3.2.03") (source (origin (method git-fetch) @@ -4125,32 +4125,29 @@ depends on @code{scipy.sparse} for some computations.") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "0agqy4v895qbrg149w2fkyh8kdfbk650iqp77aw8542ry1333lgs")))) + (base32 "1rqh1pa17n5al0b3blqr4h9qn4x6wxnxw6ilc2lk72k027cxmv84")))) (build-system pyproject-build-system) (arguments (list #:test-flags #~(list + ;; Failures probably due to a dependency mismatch (e.g. pandas). + ;; Not investigated further as this is a leaf package. + ;; tdda is actively maintained, so will probably be fixed. (string-append "--deselect=tdda/test_tdda.py::" - "TestTDDAUtils::test_handle_tilde_strings") + "TestCommonConstraints::" + "testSimpleAllCorrectVerificationFromCSVFile") (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testDetectE118Cmd") + "TestCommonConstraints::" + "testSimpleAllNotCorrectVerificationFromCSVFile") + ;; Not further investigated, results in: AssertionError: + ;; '~homeless-shelter/foo.csv' != '/homeless-shelter/foo.csv' (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testDetectE118CmdInterleaved") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testDetectE118ParquetCmd") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testDiscoverCmd") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testVerifyE118Cmd") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testVerifyE92Cmd") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testVerifyEpsilon") - (string-append "--deselect=tdda/test_tdda.py::" - "TestPandasCommandLine::testVerifyOptionFlags")))) + "TestTDDAUtils::test_handle_tilde_strings")))) (native-inputs - (list python-pytest python-setuptools)) + (list python-pytest + python-setuptools + tzdata-for-tests)) (propagated-inputs (list python-chardet python-numpy @@ -4170,7 +4167,7 @@ depends on @code{scipy.sparse} for some computations.") for the overall process of data analysis, through tools that perform reference testing, constraint discovery for data, automatic inference of regular expressions from text data and automatic test generation.") - (license license:expat))) ; MIT License + (license license:expat))) (define-public python-traittypes (package -- cgit v1.2.3