9 oldest-supported-numpy,
17 buildPythonPackage rec {
19 version = "0.6.7.post3";
22 disabled = pythonOlder "3.7";
25 inherit pname version;
26 hash = "sha256-sMXgpyHyHJckCXpP1QEIME0pZGjRJOFvNKxnBG9wIOE=";
30 substituteInPlace pyproject.toml \
31 --replace-fail "numpy >= 2.0.0" numpy
34 dontUseCmakeConfigure = true;
39 oldest-supported-numpy
47 propagatedBuildInputs = [
58 pythonImportsCheck = [ "osqp" ];
62 # Need an unfree license package - mkl
65 # disable tests failing after scipy 1.12 update
66 # https://github.com/osqp/osqp-python/issues/121
67 # re-enable once unit tests fixed
71 "update_matrices_tests"
75 description = "Operator Splitting QP Solver";
77 Numerical optimization package for solving problems in the form
78 minimize 0.5 x' P x + q' x
79 subject to l <= A x <= u
81 where x in R^n is the optimization variable
83 homepage = "https://osqp.org/";
84 downloadPage = "https://github.com/oxfordcontrol/osqp-python/releases";
85 license = licenses.asl20;
86 maintainers = with maintainers; [ drewrisinger ];