From 2f76e57f6a40b5e6e98fe5df99d4dca2fbfeeb01 Mon Sep 17 00:00:00 2001 From: "Robert T. McGibbon" Date: Mon, 10 Jan 2022 16:05:54 -0500 Subject: [PATCH] python3Packages.trio: fix python310 by not treating deprecation warnings as errors in tests --- pkgs/development/python-modules/trio/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/trio/default.nix b/pkgs/development/python-modules/trio/default.nix index 0e95da38eaea..e667f146afc0 100644 --- a/pkgs/development/python-modules/trio/default.nix +++ b/pkgs/development/python-modules/trio/default.nix @@ -37,6 +37,10 @@ buildPythonPackage rec { "fallback_when_no_hook_claims_it" ]; + pytestFlagsArray = [ + "-W" "ignore::DeprecationWarning" + ]; + propagatedBuildInputs = [ attrs sortedcontainers