python3Packages.ibis: 1.2.0 -> 1.3.0, fix tests

This commit is contained in:
Jonathan Ringer 2020-03-30 19:21:12 -07:00 committed by Jon
parent 95e007d69f
commit 0eec28560f

View File

@ -1,29 +1,26 @@
{ lib { lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast
, buildPythonPackage , graphviz
, fetchPypi
, multipledispatch , multipledispatch
, numpy , numpy
, pandas , pandas
, pyarrow
, pytest
, pytz , pytz
, regex , regex
, toolz
, isPy27
, pytest
, sqlalchemy
, requests , requests
, sqlalchemy
, tables , tables
, pyarrow , toolz
, graphviz
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "ibis-framework"; pname = "ibis-framework";
version = "1.2.0"; version = "1.3.0";
disabled = isPy27; disabled = isPy27 || pythonAtLeast "3.8";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "3a0b79dae6924be0a79669c881a9a1d4817997ad2f81a0f3b1cd03d70aebb071"; sha256 = "1my94a11jzg1hv6ln8wxklbqrg6z5l2l77vr89aq0829yyxacmv7";
}; };
propagatedBuildInputs = [ propagatedBuildInputs = [
@ -44,8 +41,11 @@ buildPythonPackage rec {
pytest pytest
]; ];
# ignore tests which require test dataset, or frameworks not available
checkPhase = '' checkPhase = ''
pytest ibis pytest ibis \
--ignore=ibis/tests/all \
--ignore=ibis/{sql,spark}
''; '';
meta = with lib; { meta = with lib; {