lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

python310Packages.osqp: disable failing tests

+46 -10
+46 -10
pkgs/development/python-modules/osqp/default.nix
··· 1 1 { lib 2 2 , buildPythonPackage 3 - , fetchPypi 4 3 , cmake 4 + , cvxopt 5 + , fetchPypi 5 6 , future 6 7 , numpy 8 + , pytestCheckHook 9 + , pythonOlder 7 10 , qdldl 8 - , setuptools-scm 9 11 , scipy 10 - # check inputs 11 - , pytestCheckHook 12 - , cvxopt 12 + , setuptools-scm 13 13 }: 14 14 15 15 buildPythonPackage rec { 16 16 pname = "osqp"; 17 17 version = "0.6.2.post5"; 18 + format = "setuptools"; 19 + 20 + disabled = pythonOlder "3.7"; 18 21 19 22 src = fetchPypi { 20 23 inherit pname version; 21 - sha256 = "b2fa17aae42a7ed498ec261b33f262bb4b3605e7e8464062159d9fae817f0d61"; 24 + hash = "sha256-svoXquQqftSY7CYbM/Jiu0s2BefoRkBiFZ2froF/DWE="; 22 25 }; 23 26 24 27 SETUPTOOLS_SCM_PRETEND_VERSION = version; 25 28 26 - nativeBuildInputs = [ cmake setuptools-scm ]; 27 29 dontUseCmakeConfigure = true; 30 + 31 + nativeBuildInputs = [ 32 + cmake 33 + setuptools-scm 34 + ]; 28 35 29 36 propagatedBuildInputs = [ 30 37 future ··· 33 40 scipy 34 41 ]; 35 42 36 - pythonImportsCheck = [ "osqp" ]; 37 - checkInputs = [ pytestCheckHook cvxopt ]; 43 + checkInputs = [ 44 + cvxopt 45 + pytestCheckHook 46 + ]; 47 + 48 + pythonImportsCheck = [ 49 + "osqp" 50 + ]; 51 + 38 52 disabledTests = [ 39 - "mkl_" 53 + # Test are failing due to scipy update (removal of scipy.random in 1.9.0) 54 + # Is fixed upstream but requires a new release 55 + "test_feasibility_problem" 56 + "test_issue14" 57 + "test_polish_random" 58 + "test_polish_unconstrained" 59 + "test_primal_and_dual_infeasible_problem" 60 + "test_primal_infeasible_problem" 61 + "test_solve" 62 + "test_unconstrained_problem" 63 + "test_update_A_allind" 64 + "test_update_A" 65 + "test_update_bounds" 66 + "test_update_l" 67 + "test_update_P_A_allind" 68 + "test_update_P_A_indA" 69 + "test_update_P_A_indP_indA" 70 + "test_update_P_A_indP" 71 + "test_update_P_allind" 72 + "test_update_P" 73 + "test_update_q" 74 + "test_update_u" 75 + "test_warm_start" 40 76 ]; 41 77 42 78 meta = with lib; {