From 253a56ff91b58af4c1441e231607efb072e13d3f Mon Sep 17 00:00:00 2001 From: Jonathan Ringer Date: Mon, 29 Nov 2021 12:53:09 -0800 Subject: [PATCH] python2Packages.jinja2: disable tests, pytest no longer filters warnings --- pkgs/development/python-modules/jinja2/2.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/jinja2/2.nix b/pkgs/development/python-modules/jinja2/2.nix index 3cdf83a74db9..02127a50df74 100644 --- a/pkgs/development/python-modules/jinja2/2.nix +++ b/pkgs/development/python-modules/jinja2/2.nix @@ -21,7 +21,8 @@ buildPythonPackage rec { # Multiple tests run out of stack space on 32bit systems with python2. # See https://github.com/pallets/jinja/issues/1158 - doCheck = !stdenv.is32bit || isPy3k; + # warnings are no longer being filtered correctly for python2 + doCheck = !stdenv.is32bit && isPy3k; checkPhase = '' pytest -v tests -W ignore::DeprecationWarning