diff --git a/pkgs/development/python-modules/cma/default.nix b/pkgs/development/python-modules/cma/default.nix index 829d15efad6b..23e532bee108 100644 --- a/pkgs/development/python-modules/cma/default.nix +++ b/pkgs/development/python-modules/cma/default.nix @@ -15,14 +15,14 @@ buildPythonPackage rec { pname = "cma"; - version = "4.4.0"; + version = "4.4.1"; pyproject = true; src = fetchFromGitHub { owner = "CMA-ES"; repo = "pycma"; tag = "r${version}"; - hash = "sha256-2uCn5CZma9RLK8zaaPhiQCqnK+2dWgLNr5+Ck2cV6vI="; + hash = "sha256-06QPs2hbrIbrPRWidlZYf0jcMGdcDYfg89Ad+4IX/Co="; }; # setuptools.errors.PackageDiscoveryError: diff --git a/pkgs/development/python-modules/pymoo/default.nix b/pkgs/development/python-modules/pymoo/default.nix index 3fd2265c636c..b49d92bd2119 100644 --- a/pkgs/development/python-modules/pymoo/default.nix +++ b/pkgs/development/python-modules/pymoo/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, @@ -62,7 +63,6 @@ buildPythonPackage rec { "file://${pymoo_data}/" ''; - pythonRelaxDeps = [ "cma" ]; pythonRemoveDeps = [ "alive-progress" ]; build-system = [ @@ -114,10 +114,16 @@ buildPythonPackage rec { # AttributeError: 'ZDT3' object has no attribute 'elementwise' "test_kktpm_correctness" ]; + disabledTestPaths = [ # sensitive to float precision "tests/algorithms/test_no_modfication.py" + ] + ++ lib.optionals stdenv.hostPlatform.isDarwin [ + # sensitive to float precision + "tests/misc/test_kktpm.py::test_kktpm_correctness[zdt3-params3]" ]; + # Avoid crashing sandboxed build on macOS env.MATPLOTLIBRC = writeText "" '' backend: Agg