python3Packages.fastmri: skip failing tests on python>=3.14
Tracking: https://github.com/NixOS/nixpkgs/issues/475732
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
pythonAtLeast,
|
||||
|
||||
# build system
|
||||
setuptools,
|
||||
@@ -66,6 +67,12 @@ buildPythonPackage (finalAttrs: {
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
disabledTests = lib.optionals (pythonAtLeast "3.14") [
|
||||
# AttributeError: '...' object has no attribute '__annotations__'.
|
||||
"test_unet_scripting"
|
||||
"test_varnet_scripting"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# much older version of pytorch-lightning is used
|
||||
"tests/test_modules.py"
|
||||
|
||||
Reference in New Issue
Block a user