From 7598a2513032ca310c285434303633754101a802 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 24 Jan 2016 12:42:29 +0100 Subject: [PATCH] pythonPackages.notebook: fix test runner, disable tests --- pkgs/top-level/python-packages.nix | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 65a6fb5d17ba..8e0b9ac0fb0b 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -12173,10 +12173,19 @@ in modules // { sha256 = "b597437ba33538221008e21fea71cd01eda9da1515ca3963d7c74e44f4b03d90"; }; - buildInputs = with self; [nose] ++ optionals isPy27 [mock]; + LC_ALL = "en_US.UTF-8"; + + buildInputs = with self; [nose pkgs.glibcLocales] ++ optionals isPy27 [mock]; propagatedBuildInputs = with self; [jinja2 tornado ipython_genutils traitlets jupyter_core jupyter_client nbformat nbconvert ipykernel terminado requests2 pexpect]; + checkPhase = '' + nosetests -v + ''; + + # Certain tests fail due to being in a chroot. + # PermissionError + doCheck = false; meta = { description = "The Jupyter HTML notebook is a web-based notebook environment for interactive computing"; homepage = http://jupyter.org/;