python310Packages.scs: 3.0.0 -> 3.2.3

This commit is contained in:
renesat 2023-07-20 18:05:42 +02:00
parent 4b7ad2c7ea
commit d3425bf16d

View File

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