From 94131c9b3e0554ad981b36bb47d047fb0df68a03 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 28 Jan 2026 02:48:51 +0100 Subject: [PATCH] python3Packages.py-evm: ignore deprecation warnings --- pkgs/development/python-modules/py-evm/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/py-evm/default.nix b/pkgs/development/python-modules/py-evm/default.nix index 9b78ea9c6180..c3aa5f9f4607 100644 --- a/pkgs/development/python-modules/py-evm/default.nix +++ b/pkgs/development/python-modules/py-evm/default.nix @@ -59,6 +59,11 @@ buildPythonPackage rec { ] ++ eth-hash.optional-dependencies.pycryptodome; + pytestFlags = [ + # 'asyncio.iscoroutinefunction' is deprecated and slated for removal in Python 3.16; use inspect.iscoroutinefunction() instead + "-Wignore::DeprecationWarning" + ]; + disabledTests = [ # side-effect: runs pip online check and is blocked by sandbox "test_install_local_wheel"