diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/scs/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/scs/default.nix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/scs/default.nix b/nixpkgs/pkgs/development/python-modules/scs/default.nix index 973e54644bea..0a242e231373 100644 --- a/nixpkgs/pkgs/development/python-modules/scs/default.nix +++ b/nixpkgs/pkgs/development/python-modules/scs/default.nix @@ -1,4 +1,5 @@ { lib +, stdenv , buildPythonPackage , fetchFromGitHub , blas @@ -11,13 +12,13 @@ buildPythonPackage rec { pname = "scs"; - version = "3.0.0"; + version = "3.2.3"; src = fetchFromGitHub { owner = "bodono"; repo = "scs-python"; rev = version; - hash = "sha256-7OgqCo21S0FDev8xv6/8iGFXg8naVi93zd8v1f9iaWw="; + hash = "sha256-/5yGvZy3luGQkbYcsb/6TZLYou91lpA3UKONviMVpuM="; fetchSubmodules = true; }; @@ -33,6 +34,12 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; pythonImportsCheck = [ "scs" ]; + disabledTests = lib.lists.optional (stdenv.system == "x86_64-linux") [ + # `test/test_scs_rand.py` hang on "x86_64-linux" (https://github.com/NixOS/nixpkgs/pull/244532#pullrequestreview-1598095858) + "test_feasible" + "test_infeasibl" + "test_unbounded" + ]; meta = with lib; { description = "Python interface for SCS: Splitting Conic Solver"; |