1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pytest
5, datashape
6, numpy
7, pandas
8, toolz
9, multipledispatch
10, networkx
11, dask
12}:
13
14buildPythonPackage rec {
15 pname = "odo";
16 version= "unstable-2018-09-21";
17
18 src = fetchFromGitHub {
19 owner = "blaze";
20 repo = pname;
21 rev = "9fce6690b3666160681833540de6c55e922de5eb";
22 sha256 = "0givkd5agr05wrf72fbghdaav6gplx7c069ngs1ip385v72ifsl9";
23 };
24
25 checkInputs = [
26 pytest
27 dask
28 ];
29
30 propagatedBuildInputs = [
31 datashape
32 numpy
33 pandas
34 toolz
35 multipledispatch
36 networkx
37 ];
38
39 postConfigure = ''
40 substituteInPlace setup.py \
41 --replace "versioneer.get_version()" "'0.5.1'"
42 '';
43
44 # disable 6/315 tests
45 checkPhase = ''
46 pytest odo -k "not test_insert_to_ooc \
47 and not test_datetime_index \
48 and not test_different_encoding \
49 and not test_numpy_asserts_type_after_dataframe"
50 '';
51
52 meta = with lib; {
53 homepage = https://github.com/ContinuumIO/odo;
54 description = "Data migration utilities";
55 license = licenses.bsdOriginal;
56 maintainers = with maintainers; [ fridh costrouc ];
57 broken = true; # no longer compatible with dask>=2.0
58 };
59}