From d903bdedd697748d5912a1594e5e04d29557b46e Mon Sep 17 00:00:00 2001 From: natsukium Date: Fri, 8 Dec 2023 15:14:07 +0900 Subject: [PATCH] python312Packages.aspectlib: ignore deprecation warnings in tests --- pkgs/development/python-modules/aspectlib/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/aspectlib/default.nix b/pkgs/development/python-modules/aspectlib/default.nix index 70fd8e8db2e2..3f4a87e0a334 100644 --- a/pkgs/development/python-modules/aspectlib/default.nix +++ b/pkgs/development/python-modules/aspectlib/default.nix @@ -16,7 +16,7 @@ buildPythonPackage rec { disabled = pythonOlder "3.7"; - format = "pyproject"; + pyproject = true; src = fetchPypi { inherit pname version; @@ -47,12 +47,16 @@ buildPythonPackage rec { "aspectlib.test" ]; - checkInputs = [ + nativeCheckInputs = [ process-tests pytestCheckHook tornado ]; + pytestFlagsArray = [ + "-W ignore::DeprecationWarning" + ]; + __darwinAllowLocalNetworking = true; meta = {