diff options
author | Jonathan Ringer <jonringer117@gmail.com> | 2021-09-13 10:15:26 -0700 |
---|---|---|
committer | Martin Weinelt <hexa@darmstadt.ccc.de> | 2021-10-03 12:42:23 +0200 |
commit | 471068486bdfe6ab9863fc78704d486ff1246626 (patch) | |
tree | 50de33a39e4d939df2faf693cfaf051d722e1c1d /pkgs/development/python-modules/jinja2 | |
parent | 139cadbf1ce28cb6f246a589b9cef49968e76676 (diff) | |
download | nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar.gz nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar.bz2 nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar.lz nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar.xz nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.tar.zst nixpkgs-471068486bdfe6ab9863fc78704d486ff1246626.zip |
python3Packages.jinja2: ignore deprecation warnings
Will eventually be fixed by: https://github.com/python/cpython/pull/28153 on next cpython release
Diffstat (limited to 'pkgs/development/python-modules/jinja2')
-rw-r--r-- | pkgs/development/python-modules/jinja2/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/jinja2/default.nix b/pkgs/development/python-modules/jinja2/default.nix index d54372379b8..378b0509010 100644 --- a/pkgs/development/python-modules/jinja2/default.nix +++ b/pkgs/development/python-modules/jinja2/default.nix @@ -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"; |