From 3390592cfc5d5406f7316a31661e6b0eeb2d352b Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Thu, 10 May 2018 07:16:18 +0200 Subject: [PATCH] python.pkgs.traitlets: fix build and don't include .pytest_cache Fixes build and prevents including `.pytest_cache` file (#40259). --- pkgs/development/python-modules/traitlets/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/traitlets/default.nix b/pkgs/development/python-modules/traitlets/default.nix index c34bb09b794..8cc1332b473 100644 --- a/pkgs/development/python-modules/traitlets/default.nix +++ b/pkgs/development/python-modules/traitlets/default.nix @@ -7,6 +7,8 @@ , ipython_genutils , decorator , enum34 +, pythonOlder +, six }: buildPythonPackage rec { @@ -20,12 +22,14 @@ buildPythonPackage rec { }; checkInputs = [ glibcLocales pytest mock ]; - propagatedBuildInputs = [ ipython_genutils decorator enum34 ]; + propagatedBuildInputs = [ ipython_genutils decorator six ] ++ lib.optional (pythonOlder "3.4") enum34; checkPhase = '' - LC_ALL="en_US.UTF-8" py.test $out + LC_ALL="en_US.UTF-8" py.test ''; +# doCheck = false; + meta = { description = "Traitlets Python config system"; homepage = http://ipython.org/;