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