From d6c392b6f16abb0d81080b59b3854651007520ce Mon Sep 17 00:00:00 2001 From: Tom Hunze Date: Fri, 22 May 2026 20:07:13 +0200 Subject: [PATCH] python3Packages.eth-utils: disable failing typing tests Matching on mypy output is brittle. Hydra: https://hydra.nixos.org/build/329150192 --- pkgs/development/python-modules/eth-utils/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/eth-utils/default.nix b/pkgs/development/python-modules/eth-utils/default.nix index de900bd0fe23..d708272873c1 100644 --- a/pkgs/development/python-modules/eth-utils/default.nix +++ b/pkgs/development/python-modules/eth-utils/default.nix @@ -49,6 +49,12 @@ buildPythonPackage rec { disabledTests = [ "test_install_local_wheel" ]; + disabledTestPaths = [ + # Typing tests fail like: + # Revealed type is "builtins.tuple[builtins.int, ...]" + "tests/core/functional-utils/test_type_inference.py" + ]; + meta = { changelog = "https://github.com/ethereum/eth-utils/blob/${src.rev}/docs/release_notes.rst"; description = "Common utility functions for codebases which interact with ethereum";