mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 12:45:27 +03:00
python3Packages.tensordict: disable tests that hangs on Darwin (#405973)
This commit is contained in:
commit
b372f5a5d3
1 changed files with 19 additions and 7 deletions
|
@ -71,14 +71,23 @@ buildPythonPackage rec {
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
disabledTests = [
|
disabledTests =
|
||||||
# FileNotFoundError: [Errno 2] No such file or directory: '/build/source/tensordict/tensorclass.pyi
|
[
|
||||||
"test_tensorclass_instance_methods"
|
# FileNotFoundError: [Errno 2] No such file or directory: '/build/source/tensordict/tensorclass.pyi
|
||||||
"test_tensorclass_stub_methods"
|
"test_tensorclass_instance_methods"
|
||||||
|
"test_tensorclass_stub_methods"
|
||||||
|
|
||||||
# hangs forever on some CPUs
|
# hangs forever on some CPUs
|
||||||
"test_map_iter_interrupt_early"
|
"test_map_iter_interrupt_early"
|
||||||
];
|
]
|
||||||
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
|
# Hangs due to the use of a pool
|
||||||
|
"test_chunksize_num_chunks"
|
||||||
|
"test_index_with_generator"
|
||||||
|
"test_map_exception"
|
||||||
|
"test_map"
|
||||||
|
"test_multiprocessing"
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths =
|
disabledTestPaths =
|
||||||
[
|
[
|
||||||
|
@ -88,6 +97,9 @@ buildPythonPackage rec {
|
||||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||||
# Hangs forever
|
# Hangs forever
|
||||||
"test/test_distributed.py"
|
"test/test_distributed.py"
|
||||||
|
# Hangs after testing due to pool usage
|
||||||
|
"test/test_h5.py"
|
||||||
|
"test/test_memmap.py"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue