From d53c0a71ab877bc72ed5aa403b15c8fbb3450a34 Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Fri, 16 Nov 2018 09:21:06 +0100 Subject: [PATCH] pythonPackages.cython: don't test codestyle (#50432) This requires pycodestyle when using python3 and adding it leads to test failures for some reason. Maybe some patching we do. There is no reason to test codestyle for a distro, so just disable it. --- pkgs/development/python-modules/Cython/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/Cython/default.nix b/pkgs/development/python-modules/Cython/default.nix index d4191731973..7f252fb58cb 100644 --- a/pkgs/development/python-modules/Cython/default.nix +++ b/pkgs/development/python-modules/Cython/default.nix @@ -45,6 +45,7 @@ in buildPythonPackage rec { checkPhase = '' export HOME="$NIX_BUILD_TOP" ${python.interpreter} runtests.py -j$NIX_BUILD_CORES \ + --no-code-style \ ${stdenv.lib.optionalString (builtins.length excludedTests != 0) ''--exclude="(${builtins.concatStringsSep "|" excludedTests})"''} '';