From 3262365f473356076ef85a3f152257552ec2e263 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 2 Jan 2023 18:26:58 +0100 Subject: [PATCH] python3Packages.trio-asyncio: Ignore TrioDeprecationWarning --- pkgs/development/python-modules/trio-asyncio/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/trio-asyncio/default.nix b/pkgs/development/python-modules/trio-asyncio/default.nix index 25caa3e965f..2cbd32b910e 100644 --- a/pkgs/development/python-modules/trio-asyncio/default.nix +++ b/pkgs/development/python-modules/trio-asyncio/default.nix @@ -40,8 +40,9 @@ buildPythonPackage rec { pytestFlagsArray = [ # https://github.com/python-trio/trio-asyncio/issues/112 - "-W" - "ignore::DeprecationWarning" + "-W" "ignore::DeprecationWarning" + # trio.MultiError is deprecated since Trio 0.22.0; use BaseExceptionGroup (on Python 3.11 and later) or exceptiongroup.BaseExceptionGroup (earlier versions) instead (https://github.com/python-trio/trio/issues/2211) + "-W" "ignore::trio.TrioDeprecationWarning" ]; disabledTestPaths = [