python3Packages.pymanopt: skip failing tests (#502726)
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
torch,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pymanopt";
|
||||
version = "2.2.1";
|
||||
pyproject = true;
|
||||
@@ -28,7 +28,7 @@ buildPythonPackage rec {
|
||||
src = fetchFromGitHub {
|
||||
owner = "pymanopt";
|
||||
repo = "pymanopt";
|
||||
tag = version;
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-LOEulticgCWZBCf3qj5KFBHt0lMd4H85368IhG3DQ4g=";
|
||||
};
|
||||
|
||||
@@ -63,11 +63,18 @@ buildPythonPackage rec {
|
||||
"tests/manifolds/test_positive_definite.py::TestSingleSpecialHermitianPositiveDefiniteManifold::test_retraction"
|
||||
];
|
||||
|
||||
disabledTests = [
|
||||
# ValueError: setting an array element with a sequence
|
||||
"test_check_gradient"
|
||||
"test_check_hessian"
|
||||
"test_check_retraction"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python toolbox for optimization on Riemannian manifolds with support for automatic differentiation";
|
||||
homepage = "https://www.pymanopt.org/";
|
||||
changelog = "https://github.com/pymanopt/pymanopt/releases/tag/${version}";
|
||||
changelog = "https://github.com/pymanopt/pymanopt/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.bsd3;
|
||||
maintainers = with lib.maintainers; [ yl3dy ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user