Merge pull request #214032 from bcdarwin/python3-rising-disable-aarch64_linux

python310Packages.rising: disable broken test on aarch64-linux
This commit is contained in:
Weijia Wang 2023-02-03 00:38:17 +01:00 committed by GitHub
commit 645fbe3bb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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"