python2Packages.jinja2: disable tests on 32bit systems
This commit is contained in:
parent
7429153cac
commit
655b9c3400
@ -1,5 +1,9 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi
|
{ stdenv
|
||||||
, pytest, markupsafe }:
|
, buildPythonPackage
|
||||||
|
, isPy3k
|
||||||
|
, fetchPypi
|
||||||
|
, pytest
|
||||||
|
, markupsafe }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "Jinja2";
|
pname = "Jinja2";
|
||||||
@ -13,6 +17,10 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [ pytest ];
|
checkInputs = [ pytest ];
|
||||||
propagatedBuildInputs = [ markupsafe ];
|
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 = ''
|
checkPhase = ''
|
||||||
pytest -v tests
|
pytest -v tests
|
||||||
'';
|
'';
|
||||||
|
Loading…
Reference in New Issue
Block a user