From 0eec28560f46a9032657f18123a560f19da47e58 Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 30 Mar 2020 19:21:12 -0700 Subject: [PATCH] python3Packages.ibis: 1.2.0 -> 1.3.0, fix tests --- .../python-modules/ibis-framework/default.nix | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/ibis-framework/default.nix b/pkgs/development/python-modules/ibis-framework/default.nix index e4ce6425f261..2381f52614e1 100644 --- a/pkgs/development/python-modules/ibis-framework/default.nix +++ b/pkgs/development/python-modules/ibis-framework/default.nix @@ -1,29 +1,26 @@ -{ lib -, buildPythonPackage -, fetchPypi +{ lib, buildPythonPackage, fetchPypi, isPy27, pythonAtLeast +, graphviz , multipledispatch , numpy , pandas +, pyarrow +, pytest , pytz , regex -, toolz -, isPy27 -, pytest -, sqlalchemy , requests +, sqlalchemy , tables -, pyarrow -, graphviz +, toolz }: buildPythonPackage rec { pname = "ibis-framework"; - version = "1.2.0"; - disabled = isPy27; + version = "1.3.0"; + disabled = isPy27 || pythonAtLeast "3.8"; src = fetchPypi { inherit pname version; - sha256 = "3a0b79dae6924be0a79669c881a9a1d4817997ad2f81a0f3b1cd03d70aebb071"; + sha256 = "1my94a11jzg1hv6ln8wxklbqrg6z5l2l77vr89aq0829yyxacmv7"; }; propagatedBuildInputs = [ @@ -44,8 +41,11 @@ buildPythonPackage rec { pytest ]; + # ignore tests which require test dataset, or frameworks not available checkPhase = '' - pytest ibis + pytest ibis \ + --ignore=ibis/tests/all \ + --ignore=ibis/{sql,spark} ''; meta = with lib; {