diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2020-02-23 12:17:50 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2020-02-24 14:39:39 +0100 |
commit | 655b9c3400c5c2cc75c674a8c7d2fd321f23270a (patch) | |
tree | 0d5835a9a9795e728fed7634875f208c6eb3613a | |
parent | 7429153cacec508ff4f74cba8d79ac46ca61fba9 (diff) | |
download | nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar.gz nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar.bz2 nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar.lz nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar.xz nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.tar.zst nixlib-655b9c3400c5c2cc75c674a8c7d2fd321f23270a.zip |
python2Packages.jinja2: disable tests on 32bit systems
-rw-r--r-- | pkgs/development/python-modules/jinja2/default.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/jinja2/default.nix b/pkgs/development/python-modules/jinja2/default.nix index cc08d2cf3757..90dfc6fa7daf 100644 --- a/pkgs/development/python-modules/jinja2/default.nix +++ b/pkgs/development/python-modules/jinja2/default.nix @@ -1,5 +1,9 @@ -{ stdenv, buildPythonPackage, fetchPypi -, pytest, markupsafe }: +{ stdenv +, buildPythonPackage +, isPy3k +, fetchPypi +, pytest +, markupsafe }: buildPythonPackage rec { pname = "Jinja2"; @@ -13,6 +17,10 @@ buildPythonPackage rec { checkInputs = [ pytest ]; propagatedBuildInputs = [ markupsafe ]; + # Multiple tests run out of stack space on 32bit systems with python2. + # See https://github.com/pallets/jinja/issues/1158 + doCheck = !stdenv.is32bit || isPy3k; + checkPhase = '' pytest -v tests ''; |