From b590df0f18275505a6323a69d0a04e9fc6d2859c Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Mon, 10 May 2021 17:55:56 -0400 Subject: [PATCH] python3Packages.agate-excel: fix build --- .../python-modules/agate-excel/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/development/python-modules/agate-excel/default.nix b/pkgs/development/python-modules/agate-excel/default.nix index af98bbded8c..752c905ee8e 100644 --- a/pkgs/development/python-modules/agate-excel/default.nix +++ b/pkgs/development/python-modules/agate-excel/default.nix @@ -1,5 +1,5 @@ { lib, fetchPypi, buildPythonPackage -, agate, openpyxl, xlrd, nose +, agate, openpyxl, xlrd, pytestCheckHook }: buildPythonPackage rec { @@ -13,11 +13,12 @@ buildPythonPackage rec { propagatedBuildInputs = [ agate openpyxl xlrd ]; - checkInputs = [ nose ]; + checkInputs = [ pytestCheckHook ]; - checkPhase = '' - nosetests - ''; + disabledTests = [ + # See https://github.com/wireservice/agate-excel/issues/45 + "test_ambiguous_date" + ]; meta = with lib; { description = "Adds read support for excel files to agate";