about summary refs log tree commit diff
path: root/pkgs/development/python-modules/osqp
diff options
context:
space:
mode:
authorDrew Risinger <drewrisinger@users.noreply.github.com>2021-01-14 14:13:20 -0500
committerJonathan Ringer <jonringer@users.noreply.github.com>2021-01-14 23:05:55 -0800
commit495066a47fc259aa4fc5f7548e190fded2c7030e (patch)
tree0ef34bc805409c71b0337a2b684daf31df13fbdd /pkgs/development/python-modules/osqp
parent5fae0b941aed842791ea74092c71a88c940bb42c (diff)
python3Packages.osqp: 0.6.2 -> 0.6.2.post0
Diffstat (limited to 'pkgs/development/python-modules/osqp')
-rw-r--r--pkgs/development/python-modules/osqp/default.nix15
1 files changed, 4 insertions, 11 deletions
diff --git a/pkgs/development/python-modules/osqp/default.nix b/pkgs/development/python-modules/osqp/default.nix
index e2eb0139f1233..1db266e116d40 100644
--- a/pkgs/development/python-modules/osqp/default.nix
+++ b/pkgs/development/python-modules/osqp/default.nix
@@ -8,15 +8,16 @@
 , scipy
 # check inputs
 , pytestCheckHook
+, cvxopt
 }:
 
 buildPythonPackage rec {
   pname = "osqp";
-  version = "0.6.2";
+  version = "0.6.2.post0";
 
   src = fetchPypi {
     inherit pname version;
-    sha256 = "262162039f6ad6c9ffee658541b18cfae8240b65edbde71d9b9e3af42fbfe4b3";
+    sha256 = "5f0695f26a3bef0fae91254bc283fab790dcca0064bfe0f425167f9c9e8b4cbc";
   };
 
   nativeBuildInputs = [ cmake ];
@@ -30,18 +31,10 @@ buildPythonPackage rec {
   ];
 
   pythonImportsCheck = [ "osqp" ];
-  checkInputs = [ pytestCheckHook ];
+  checkInputs = [ pytestCheckHook cvxopt ];
   disabledTests = [
     "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; {
     description = "The Operator Splitting QP Solver";