python310Packages.rising: disable test on aarch64-linux due to error

Seems to be a pytorch DataLoader issue.
This commit is contained in:
Ben Darwin
2023-02-02 17:14:39 -05:00
parent f32a761d97
commit b5fd12d0d1
@@ -1,4 +1,5 @@
{ lib { stdenv
, lib
, buildPythonPackage , buildPythonPackage
, pythonOlder , pythonOlder
, fetchFromGitHub , fetchFromGitHub
@@ -15,7 +16,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "rising"; pname = "rising";
version = "0.3.0"; version = "0.3.0";
disabled = pythonOlder "TODO"; disabled = pythonOlder "3.8";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "PhoenixDL"; owner = "PhoenixDL";
@@ -32,6 +33,10 @@ buildPythonPackage rec {
lightning-utilities numpy torch threadpoolctl tqdm lightning-utilities numpy torch threadpoolctl tqdm
]; ];
nativeCheckInputs = [ dill pytestCheckHook ]; nativeCheckInputs = [ dill pytestCheckHook ];
disabledTests = lib.optionals (stdenv.isLinux && stdenv.isAarch64) [
# RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly:
"test_progressive_resize_integration"
];
pythonImportsCheck = [ pythonImportsCheck = [
"rising" "rising"