From 9a151d96c38dc6b56c111c96dc07023a0d33b54c Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 7 Aug 2025 15:39:59 +0200 Subject: [PATCH] python3Packages.omegaconf: downgrade pytest, ignore userwarning --- pkgs/development/python-modules/omegaconf/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/omegaconf/default.nix b/pkgs/development/python-modules/omegaconf/default.nix index c21ee73c3e05..c55f1b4ccd1e 100644 --- a/pkgs/development/python-modules/omegaconf/default.nix +++ b/pkgs/development/python-modules/omegaconf/default.nix @@ -9,7 +9,7 @@ jre_minimal, pydevd, pytest-mock, - pytestCheckHook, + pytest7CheckHook, pythonAtLeast, pythonOlder, pyyaml, @@ -60,13 +60,14 @@ buildPythonPackage rec { attrs pydevd pytest-mock - pytestCheckHook + pytest7CheckHook ]; pythonImportsCheck = [ "omegaconf" ]; pytestFlags = [ "-Wignore::DeprecationWarning" + "-Wignore::UserWarning" ]; disabledTests = [