mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-16 14:58:14 +00:00
python3Packages.spectral-cube: fix tests
This commit is contained in:
parent
8f61d05a8d
commit
ab7601ac8e
@ -46,6 +46,11 @@ buildPythonPackage rec {
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
# Tests must be run in the build directory.
|
||||
preCheck = ''
|
||||
cd build/lib
|
||||
'';
|
||||
|
||||
# On x86_darwin, this test fails with "Fatal Python error: Aborted"
|
||||
# when sandbox = true.
|
||||
disabledTestPaths = lib.optionals stdenv.isDarwin [
|
||||
@ -62,7 +67,5 @@ buildPythonPackage rec {
|
||||
changelog = "https://github.com/radio-astro-tools/spectral-cube/releases/tag/v${version}";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ smaret ];
|
||||
# Tests fail to start, according to Hydra
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user