python311Packages.osqp: 0.6.2.post8 -> 0.6.3
This commit is contained in:
parent
d3425bf16d
commit
d777a5bd04
1 changed files with 3 additions and 28 deletions
|
@ -14,20 +14,16 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "osqp";
|
||||
version = "0.6.2.post8";
|
||||
version = "0.6.3";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-I9a65KNhL2DV9lLQ5fpLLq1QfKv/9dkw2CIFeubtZnc=";
|
||||
hash = "sha256-A+Rg5oPsLOD4OTU936PEyP+lCauM9qKyr7tYb6RT4YA=";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
sed -i 's/sp.random/np.random/g' src/osqp/tests/*.py
|
||||
'';
|
||||
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = version;
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
@ -54,29 +50,8 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
disabledTests = [
|
||||
# Test are failing due to scipy update (removal of scipy.random in 1.9.0)
|
||||
# Is fixed upstream but requires a new release
|
||||
"test_feasibility_problem"
|
||||
# Need an unfree license package - mkl
|
||||
"test_issue14"
|
||||
"test_polish_random"
|
||||
"test_polish_unconstrained"
|
||||
"test_primal_and_dual_infeasible_problem"
|
||||
"test_primal_infeasible_problem"
|
||||
"test_solve"
|
||||
"test_unconstrained_problem"
|
||||
"test_update_A_allind"
|
||||
"test_update_A"
|
||||
"test_update_bounds"
|
||||
"test_update_l"
|
||||
"test_update_P_A_allind"
|
||||
"test_update_P_A_indA"
|
||||
"test_update_P_A_indP_indA"
|
||||
"test_update_P_A_indP"
|
||||
"test_update_P_allind"
|
||||
"test_update_P"
|
||||
"test_update_q"
|
||||
"test_update_u"
|
||||
"test_warm_start"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue