python312Packages.cvxpy: 1.5.3 -> 1.6.0

Diff: https://github.com/cvxpy/cvxpy/compare/refs/tags/v1.5.3...v1.6.0

Changelog: https://github.com/cvxpy/cvxpy/releases/tag/v1.6.0
This commit is contained in:
Gaetan Lepage
2025-01-07 11:58:36 +01:00
parent ba353096c9
commit f1ab3477cd
@@ -2,7 +2,6 @@
lib,
stdenv,
buildPythonPackage,
pythonOlder,
fetchFromGitHub,
# build-system
@@ -13,12 +12,12 @@
# dependencies
clarabel,
cvxopt,
ecos,
osqp,
scipy,
scs,
# checks
hypothesis,
pytestCheckHook,
useOpenmp ? (!stdenv.hostPlatform.isDarwin),
@@ -26,16 +25,14 @@
buildPythonPackage rec {
pname = "cvxpy";
version = "1.5.3";
version = "1.6.0";
pyproject = true;
disabled = pythonOlder "3.9";
src = fetchFromGitHub {
owner = "cvxpy";
repo = "cvxpy";
tag = "v${version}";
hash = "sha256-6RaEyFckvF3WhbfeffysMB/zt+aU1NU6B7Nm06znt9k=";
hash = "sha256-t2+j0ZrvGvTv6FoNVpD2MVFZKfGgqTaN32OKwBXM3Zw=";
};
# we need to patch out numpy version caps from upstream
@@ -53,14 +50,16 @@ buildPythonPackage rec {
dependencies = [
clarabel
cvxopt
ecos
numpy
osqp
scipy
scs
];
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
hypothesis
pytestCheckHook
];
# Required flags from https://github.com/cvxpy/cvxpy/releases/tag/v1.1.11
preBuild = lib.optionalString useOpenmp ''
@@ -84,7 +83,7 @@ buildPythonPackage rec {
description = "Domain-specific language for modeling convex optimization problems in Python";
homepage = "https://www.cvxpy.org/";
downloadPage = "https://github.com/cvxpy/cvxpy//releases";
changelog = "https://github.com/cvxpy/cvxpy/releases/tag/v${version}";
changelog = "https://github.com/cvxpy/cvxpy/releases/tag/${src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ drewrisinger ];
};