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
1 changed files with 13 additions and 8 deletions

View File

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