From 3a56a943bfec2e5a37b44cfcb182036ea3d6b157 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Wed, 31 Jan 2024 11:28:14 +0100 Subject: [PATCH] python312Packages.python-docx: suppress DeprecationWarning --- pkgs/development/python-modules/python-docx/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/python-docx/default.nix b/pkgs/development/python-modules/python-docx/default.nix index 75c8c02debd3..6a5c01d216da 100644 --- a/pkgs/development/python-modules/python-docx/default.nix +++ b/pkgs/development/python-modules/python-docx/default.nix @@ -52,6 +52,11 @@ buildPythonPackage rec { "it_accepts_unicode_providing_there_is_no_encoding_declaration" ]; + pytestFlagsArray = [ + "-W" + "ignore::DeprecationWarning" + ]; + meta = with lib; { description = "Create and update Microsoft Word .docx files"; homepage = "https://python-docx.readthedocs.io/";