From f60809f9c1d5e04e92fabafde39a72955d4d7342 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 31 Dec 2025 14:21:45 +0000 Subject: [PATCH] python3Packages.beartype: disable on python>=3.14 --- pkgs/development/python-modules/beartype/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkgs/development/python-modules/beartype/default.nix b/pkgs/development/python-modules/beartype/default.nix index 1458225ed605..a8a1149930d6 100644 --- a/pkgs/development/python-modules/beartype/default.nix +++ b/pkgs/development/python-modules/beartype/default.nix @@ -20,6 +20,14 @@ buildPythonPackage rec { hash = "sha256-oD7LS+c+mZ8W4YnAaAYxQkbUlmO8E2TPxy0PBI7Jr7A="; }; + # Several tests fail with: + # - beartype.roar.BeartypeDecorHintNonpepException + # - RuntimeError: There is no current event loop in thread 'MainThread' + # - Failed: DID NOT RAISE + # - AssertionError + # - ... + disabled = pythonAtLeast "3.14"; + build-system = [ hatchling ]; nativeCheckInputs = [