python312Packages.pylance: skip failing tests on darwin (#341866)
This commit is contained in:
commit
e05942167c
@ -100,6 +100,17 @@ buildPythonPackage rec {
|
||||
cd python/python/tests
|
||||
'';
|
||||
|
||||
disabledTests = lib.optionals stdenv.isDarwin [
|
||||
# AttributeError: module 'torch.distributed' has no attribute 'is_initialized'
|
||||
"test_convert_int_tensors"
|
||||
"test_ground_truth"
|
||||
"test_index_cast_centroids"
|
||||
"test_index_with_no_centroid_movement"
|
||||
"test_iter_filter"
|
||||
"test_iter_over_dataset_fixed_shape_tensor"
|
||||
"test_iter_over_dataset_fixed_size_lists"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script {
|
||||
extraArgs = [
|
||||
"--generate-lockfile"
|
||||
@ -114,5 +125,8 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/lancedb/lance/releases/tag/v${version}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ natsukium ];
|
||||
# test_indices.py ...sss.Fatal Python error: Fatal Python error: Illegal instructionIllegal instruction
|
||||
# File "/nix/store/wiiccrs0vd1qbh4j6ki9p40xmamsjix3-python3.12-pylance-0.17.0/lib/python3.12/site-packages/lance/indices.py", line 237 in train_ivf
|
||||
broken = stdenv.isDarwin && stdenv.isx86_64;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user