15 buildPythonPackage rec {
17 version = "0.6.2.post5";
18 format = "setuptools";
20 disabled = pythonOlder "3.7";
23 inherit pname version;
24 hash = "sha256-svoXquQqftSY7CYbM/Jiu0s2BefoRkBiFZ2froF/DWE=";
28 sed -i 's/sp.random/np.random/g' src/osqp/tests/*.py
31 SETUPTOOLS_SCM_PRETEND_VERSION = version;
33 dontUseCmakeConfigure = true;
40 propagatedBuildInputs = [
52 pythonImportsCheck = [
57 # Test are failing due to scipy update (removal of scipy.random in 1.9.0)
58 # Is fixed upstream but requires a new release
59 "test_feasibility_problem"
62 "test_polish_unconstrained"
63 "test_primal_and_dual_infeasible_problem"
64 "test_primal_infeasible_problem"
66 "test_unconstrained_problem"
67 "test_update_A_allind"
71 "test_update_P_A_allind"
72 "test_update_P_A_indA"
73 "test_update_P_A_indP_indA"
74 "test_update_P_A_indP"
75 "test_update_P_allind"
83 description = "The Operator Splitting QP Solver";
85 Numerical optimization package for solving problems in the form
86 minimize 0.5 x' P x + q' x
87 subject to l <= A x <= u
89 where x in R^n is the optimization variable
91 homepage = "https://osqp.org/";
92 downloadPage = "https://github.com/oxfordcontrol/osqp-python/releases";
93 license = licenses.asl20;
94 maintainers = with maintainers; [ drewrisinger ];