Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

python3Packages.cvxpy: 1.1.4 -> 1.1.5

Changelog: https://github.com/cvxgrp/cvxpy/releases/tag/v1.1.5

Other updates:
* Update to pytestCheckHook
* Disable slowest tests
* Add changelog

authored by

Drew Risinger and committed by
Jon
b72fd5c9 0885b9da

+11 -6
+11 -6
pkgs/development/python-modules/cvxpy/default.nix
··· 11 , scs 12 , six 13 # Check inputs 14 , nose 15 }: 16 17 buildPythonPackage rec { 18 pname = "cvxpy"; 19 - version = "1.1.4"; 20 21 disabled = pythonOlder "3.5"; 22 23 src = fetchPypi { 24 inherit pname version; 25 - sha256 = "1f37da2f891508ebc2bbb2b75c46a2076be39a60a45c8a88261e000e8aabeef2"; 26 }; 27 28 propagatedBuildInputs = [ ··· 36 six 37 ]; 38 39 - checkInputs = [ nose ]; 40 - checkPhase = '' 41 - nosetests cvxpy 42 - ''; 43 44 meta = with lib; { 45 description = "A domain-specific language for modeling convex optimization problems in Python."; 46 homepage = "https://www.cvxpy.org/"; 47 downloadPage = "https://github.com/cvxgrp/cvxpy/releases"; 48 license = licenses.asl20; 49 maintainers = with maintainers; [ drewrisinger ]; 50 };
··· 11 , scs 12 , six 13 # Check inputs 14 + , pytestCheckHook 15 , nose 16 }: 17 18 buildPythonPackage rec { 19 pname = "cvxpy"; 20 + version = "1.1.5"; 21 22 disabled = pythonOlder "3.5"; 23 24 src = fetchPypi { 25 inherit pname version; 26 + sha256 = "7c826a874db2e4cefe54e63ebd3a3763d0d72e55a17c7d1cfec80008a87b8d81"; 27 }; 28 29 propagatedBuildInputs = [ ··· 37 six 38 ]; 39 40 + checkInputs = [ pytestCheckHook nose ]; 41 + pytestFlagsArray = [ "./cvxpy" ]; 42 + # Disable the slowest benchmarking tests, cuts test time in half 43 + disabledTests = [ 44 + "test_tv_inpainting" 45 + "test_diffcp_sdp_example" 46 + ]; 47 48 meta = with lib; { 49 description = "A domain-specific language for modeling convex optimization problems in Python."; 50 homepage = "https://www.cvxpy.org/"; 51 downloadPage = "https://github.com/cvxgrp/cvxpy/releases"; 52 + changelog = "https://github.com/cvxgrp/cvxpy/releases/tag/v${version}"; 53 license = licenses.asl20; 54 maintainers = with maintainers; [ drewrisinger ]; 55 };