From 4e639fb6d9e6234cb1ad543cb44e376b09434015 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 29 Aug 2025 11:07:24 +0200 Subject: [PATCH] dbx: fix build --- pkgs/by-name/db/dbx/package.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/pkgs/by-name/db/dbx/package.nix b/pkgs/by-name/db/dbx/package.nix index b27f0ccfff09..53efc27c49db 100644 --- a/pkgs/by-name/db/dbx/package.nix +++ b/pkgs/by-name/db/dbx/package.nix @@ -33,6 +33,12 @@ let # Tests require langchain-openai which is incompatible with pydantic_1 doCheck = false; }); + + versioningit = super.versioningit.overridePythonAttrs (old: { + # Tests fail with pydantic_1 + # AttributeError: type object 'CaseDetails' has no attribute 'model_validate_... + doCheck = false; + }); }; }; in @@ -129,8 +135,13 @@ python.pkgs.buildPythonApplication rec { # Fails because of dbfs CLI wrong call "test_dbfs_unknown_user" "test_dbfs_no_root" + # Requires pylint, prospector, pydocstyle "test_python_basic_sanity_check" + + # FileNotFoundError: [Errno 2] No such file or directory: '/build/tmph3veuluv... + "test_load_file" + "test_storage_serde" ]; disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [