git.iko.soy/typeable/nixpkgs
on master help sign in
python2Packages.jinja2: disable tests on 32bit systems
commit655b9c3400c5c2cc75c674a8c7d2fd321f23270a authorrnhmjoj <rnhmjoj@inventati.org> dateSun 23 Feb 2020, 12:17 (7 years ago) parent7429153
1 file changed+10−2
pkgs/development/python-modules/jinja2/default.nix+10−2
pkgs/development/python-modules/jinja2/default.nix+10−2
@@ -1,5 +1,9 @@
1−{ stdenv, buildPythonPackage, fetchPypi
2−, pytest, markupsafe }:
1+{ stdenv
2+, buildPythonPackage
3+, isPy3k
4+, fetchPypi
5+, pytest
6+, markupsafe }:
37
48buildPythonPackage rec {
59 pname = "Jinja2";
@@ -13,6 +17,10 @@ buildPythonPackage rec {
1317 checkInputs = [ pytest ];
1418 propagatedBuildInputs = [ markupsafe ];
1519
20+ # Multiple tests run out of stack space on 32bit systems with python2.
21+ # See https://github.com/pallets/jinja/issues/1158
22+ doCheck = !stdenv.is32bit || isPy3k;
23+
1624 checkPhase = ''
1725 pytest -v tests
1826 '';