From af7b6e6e83b25f5b656ec05911f5de2529710e58 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Tue, 14 Jul 2026 11:11:14 -0700 Subject: [PATCH] python3Packages.skops: Disable tests throwing a deprecation warning --- pkgs/development/python-modules/skops/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/skops/default.nix b/pkgs/development/python-modules/skops/default.nix index f48ce48971e0..fd34863ae90f 100644 --- a/pkgs/development/python-modules/skops/default.nix +++ b/pkgs/development/python-modules/skops/default.nix @@ -61,6 +61,14 @@ buildPythonPackage (finalAttrs: { }; enabledTestPaths = [ "skops" ]; + # Override the overly strict pyproject.toml:tool.pytest.ini_options.filterwarnings + # https://github.com/skops-dev/skops/issues/523 + pytestFlags = [ + "-W" + "ignore::FutureWarning" + "-W" + "ignore::DeprecationWarning" + ]; disabledTests = [ # fairlearn is not available in nixpkgs