python.pkgs.odo: disable failing test

This commit is contained in:
Frederik Rietdijk 2018-03-10 12:36:11 +01:00
parent 5c1c6a3071
commit 2c406f6329

View File

@ -1,6 +1,6 @@
{ lib
, buildPythonPackage
, fetchPypi
, fetchFromGitHub
, pytest
, datashape
, numpy
@ -8,23 +8,28 @@
, toolz
, multipledispatch
, networkx
, dask
}:
buildPythonPackage rec {
pname = "odo";
version= "0.5.0";
name = "${pname}-${version}";
version= "0.5.1";
src = fetchPypi {
inherit pname version;
sha256 = "1mh5k69d9ph9jd07jl9yqh78rbnh5cjspi1q530v3ml7ivjzz4p8";
src = fetchFromGitHub {
owner = "blaze";
repo = pname;
rev = version;
sha256 = "142f4jvaqjn0dq6rvlk7d7mzcmc255a9z4nxc1b3a862hp4gvijs";
};
checkInputs = [ pytest ];
checkInputs = [ pytest dask ];
propagatedBuildInputs = [ datashape numpy pandas toolz multipledispatch networkx ];
# Disable failing tests
# https://github.com/blaze/odo/issues/609
checkPhase = ''
py.test odo/tests
py.test -k "not test_numpy_asserts_type_after_dataframe" odo/tests
'';
meta = {