From b5fd12d0d10fab7e60131de8546c868bc1ca28be Mon Sep 17 00:00:00 2001 From: Ben Darwin Date: Wed, 1 Feb 2023 14:20:45 -0500 Subject: [PATCH] python310Packages.rising: disable test on aarch64-linux due to error Seems to be a pytorch DataLoader issue. --- pkgs/development/python-modules/rising/default.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/rising/default.nix b/pkgs/development/python-modules/rising/default.nix index 5c8ccfbcdd0a..ab52aec1a236 100644 --- a/pkgs/development/python-modules/rising/default.nix +++ b/pkgs/development/python-modules/rising/default.nix @@ -1,4 +1,5 @@ -{ lib +{ stdenv +, lib , buildPythonPackage , pythonOlder , fetchFromGitHub @@ -15,7 +16,7 @@ buildPythonPackage rec { pname = "rising"; version = "0.3.0"; - disabled = pythonOlder "TODO"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "PhoenixDL"; @@ -32,6 +33,10 @@ buildPythonPackage rec { lightning-utilities numpy torch threadpoolctl tqdm ]; nativeCheckInputs = [ dill pytestCheckHook ]; + disabledTests = lib.optionals (stdenv.isLinux && stdenv.isAarch64) [ + # RuntimeError: DataLoader worker (pid(s) <...>) exited unexpectedly: + "test_progressive_resize_integration" + ]; pythonImportsCheck = [ "rising"