Skip to content

Commit 4e639fb

Browse files
committed
dbx: fix build
1 parent 63b8f96 commit 4e639fb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

pkgs/by-name/db/dbx/package.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ let
3333
# Tests require langchain-openai which is incompatible with pydantic_1
3434
doCheck = false;
3535
});
36+
37+
versioningit = super.versioningit.overridePythonAttrs (old: {
38+
# Tests fail with pydantic_1
39+
# AttributeError: type object 'CaseDetails' has no attribute 'model_validate_...
40+
doCheck = false;
41+
});
3642
};
3743
};
3844
in
@@ -129,8 +135,13 @@ python.pkgs.buildPythonApplication rec {
129135
# Fails because of dbfs CLI wrong call
130136
"test_dbfs_unknown_user"
131137
"test_dbfs_no_root"
138+
132139
# Requires pylint, prospector, pydocstyle
133140
"test_python_basic_sanity_check"
141+
142+
# FileNotFoundError: [Errno 2] No such file or directory: '/build/tmph3veuluv...
143+
"test_load_file"
144+
"test_storage_serde"
134145
];
135146

136147
disabledTestPaths = lib.optionals stdenv.hostPlatform.isDarwin [

0 commit comments

Comments
 (0)