Skip to content

Commit

Permalink
python3Packages.jinja2: ignore deprecation warnings
Browse files Browse the repository at this point in the history
Will eventually be fixed by: python/cpython#28153
on next cpython release
  • Loading branch information
jonringer authored and StephenWithPH committed Sep 24, 2021
1 parent 5cd3a91 commit e13dad2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkgs/development/python-modules/jinja2/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,13 @@ buildPythonPackage rec {
pytestCheckHook
];

pytestFlagsArray = [
# Avoid failure due to deprecation warning
# Fixed in https://github.com/python/cpython/pull/28153
# Remove after cpython 3.9.8
"-p no:warnings"
];

meta = with lib; {
homepage = "http://jinja.pocoo.org/";
description = "Stand-alone template engine";
Expand Down

0 comments on commit e13dad2

Please sign in to comment.