python3Packages.osqp: 0.6.2 -> 0.6.2.post0
This commit is contained in:
parent
5fae0b941a
commit
495066a47f
@ -8,15 +8,16 @@
|
|||||||
, scipy
|
, scipy
|
||||||
# check inputs
|
# check inputs
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
, cvxopt
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "osqp";
|
pname = "osqp";
|
||||||
version = "0.6.2";
|
version = "0.6.2.post0";
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "262162039f6ad6c9ffee658541b18cfae8240b65edbde71d9b9e3af42fbfe4b3";
|
sha256 = "5f0695f26a3bef0fae91254bc283fab790dcca0064bfe0f425167f9c9e8b4cbc";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
@ -30,18 +31,10 @@ buildPythonPackage rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
pythonImportsCheck = [ "osqp" ];
|
pythonImportsCheck = [ "osqp" ];
|
||||||
checkInputs = [ pytestCheckHook ];
|
checkInputs = [ pytestCheckHook cvxopt ];
|
||||||
disabledTests = [
|
disabledTests = [
|
||||||
"mkl_"
|
"mkl_"
|
||||||
];
|
];
|
||||||
pytestFlagsArray = [
|
|
||||||
# These cannot collect b/c of circular dependency on cvxpy: https://github.com/oxfordcontrol/osqp-python/issues/50
|
|
||||||
"--ignore=module/tests/basic_test.py"
|
|
||||||
"--ignore=module/tests/feasibility_test.py"
|
|
||||||
"--ignore=module/tests/polishing_test.py"
|
|
||||||
"--ignore=module/tests/unconstrained_test.py"
|
|
||||||
"--ignore=module/tests/update_matrices_test.py"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Operator Splitting QP Solver";
|
description = "The Operator Splitting QP Solver";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user