about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-01 17:01:26 +0100
committerMartin Weinelt <hexa@darmstadt.ccc.de>2023-12-20 20:11:12 +0100
commit2ca4b56f559706f956a392c0df030926e01083cc (patch)
treeebd384bd2a5862591f30c3f55fef4a64ce644168
parent67d45947297a2f92364200c65503151957189734 (diff)
python311Packages.itsdangerous: ignore deprecation warnings
during check phase.
-rw-r--r--pkgs/development/python-modules/itsdangerous/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/itsdangerous/default.nix b/pkgs/development/python-modules/itsdangerous/default.nix
index 3810eabf46c71..cfc364a4a3997 100644
--- a/pkgs/development/python-modules/itsdangerous/default.nix
+++ b/pkgs/development/python-modules/itsdangerous/default.nix
@@ -22,6 +22,10 @@ buildPythonPackage rec {
     pytestCheckHook
   ];
 
+  pytestFlagsArray = [
+    "-W" "ignore::DeprecationWarning"
+  ];
+
   meta = with lib; {
     description = "Safely pass data to untrusted environments and back";
     homepage = "https://itsdangerous.palletsprojects.com";