From 386033debcdd4b31a54444813a4807bcaa1ae32a Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Mon, 16 Feb 2026 12:43:00 -0800 Subject: [PATCH] python314Packages.ploomber-core: disable tests that depend on pre-3.14 attributes --- pkgs/development/python-modules/ploomber-core/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/python-modules/ploomber-core/default.nix b/pkgs/development/python-modules/ploomber-core/default.nix index 52907f3127d1..3d6ac8dfbfd9 100644 --- a/pkgs/development/python-modules/ploomber-core/default.nix +++ b/pkgs/development/python-modules/ploomber-core/default.nix @@ -6,6 +6,7 @@ pyyaml, posthog, pytestCheckHook, + pythonAtLeast, typing-extensions, }: @@ -36,6 +37,11 @@ buildPythonPackage rec { "exceptions" # requires stderr capture ]; + disabledTestPaths = lib.optionals (pythonAtLeast "3.14") [ + # Depends on pre-3.14 attribute access + "tests/test_config.py" + ]; + pythonImportsCheck = [ "ploomber_core" ]; meta = {