summary refs log tree commit diff
path: root/gnu/packages/julia-xyz.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-12-13 12:47:14 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-12-21 19:22:48 +0200
commit0147f38df6ddd81629c73d3a06d92a9d2fcca874 (patch)
tree5a0665c29a7bec0cc24dcc7a8ca0480f53af6dfb /gnu/packages/julia-xyz.scm
parent8154f07422ba96c96970cf1d04de450ce563160d (diff)
downloadguix-0147f38df6ddd81629c73d3a06d92a9d2fcca874.tar.gz
gnu: julia-dataframes: Update to 1.3.6.
* gnu/packages/julia-xyz.scm (julia-dataframes): Update to 1.3.6.
[arguments]: Adjust 'skip-failing-test phase to adjust a test to pass
with julia-1.8.
[propagated-inputs]: Add julia-categoricalarrays, julia-compat,
julia-shiftedarrays, julia-unitful.
[native-inputs]: Add julia-shiftedarrays.
Diffstat (limited to 'gnu/packages/julia-xyz.scm')
-rw-r--r--gnu/packages/julia-xyz.scm19
1 files changed, 14 insertions, 5 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index 64a3948806..3c6658baf6 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -1269,7 +1269,7 @@ dependency on it.")
 (define-public julia-dataframes
   (package
     (name "julia-dataframes")
-    (version "1.2.2")
+    (version "1.3.6")
     (source
       (origin
         (method git-fetch)
@@ -1278,7 +1278,7 @@ dependency on it.")
                (commit (string-append "v" version))))
         (file-name (git-file-name name version))
         (sha256
-         (base32 "1bk0amrghgjrkyn1mm4ac23swwbgszl1d0qyl9137qj5zvv9dasp"))))
+         (base32 "01ybc1ckn5wi7kwp29g5ms4m3g650856z4xv71racbdr8475pmg5"))))
     (build-system julia-build-system)
     (arguments
      (list
@@ -1295,24 +1295,33 @@ dependency on it.")
                  (string-append all "return\n")))
               (substitute* "test/join.jl"
                 (("test (levels\\(outerjoin\\(B)" _ test)
-                 (string-append "test_nowarn " test))))))))
+                 (string-append "test_nowarn " test)))
+              ;; Compat with julia-1.8, remove with next package update.
+              (substitute* "test/indexing_offset.jl"
+                (("@test_throws ErrorException")
+                 "@test_throws Base.CanonicalIndexError")))))))
     (propagated-inputs
-     (list julia-dataapi
+     (list julia-categoricalarrays
+           julia-compat
+           julia-dataapi
            julia-invertedindices
            julia-iteratorinterfaceextensions
            julia-missings
            julia-pooledarrays
            julia-prettytables
            julia-reexport
+           julia-shiftedarrays
            julia-sortingalgorithms
            julia-tables
-           julia-tabletraits))
+           julia-tabletraits
+           julia-unitful))
     (native-inputs
      (list julia-categoricalarrays
            julia-combinatorics
            julia-datastructures
            julia-datavalues
            julia-offsetarrays
+           julia-shiftedarrays
            julia-unitful))
     (home-page "https://dataframes.juliadata.org/stable/")
     (synopsis "In-memory tabular data")