python3Packages.cvxpy: 1.6.6 -> 1.7.1 (#426679)
This commit is contained in:
@@ -25,21 +25,24 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cvxpy";
|
||||
version = "1.6.6";
|
||||
version = "1.7.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "cvxpy";
|
||||
repo = "cvxpy";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-dn29rAm0f0cgUFtnHSykBE2p/U/EPorozjuuLWuH/Tw=";
|
||||
hash = "sha256-gJL9j2hA+PvNhN1twv31dxb5Gz+q8uoIzwhXB12aIr4=";
|
||||
};
|
||||
|
||||
# we need to patch out numpy version caps from upstream
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace-fail "numpy >= 2.0.0" "numpy"
|
||||
'';
|
||||
postPatch =
|
||||
# too tight tolerance in tests (AssertionError)
|
||||
''
|
||||
substituteInPlace cvxpy/tests/test_constant_atoms.py \
|
||||
--replace-fail \
|
||||
"CLARABEL: 1e-7," \
|
||||
"CLARABEL: 1e-6,"
|
||||
'';
|
||||
|
||||
build-system = [
|
||||
numpy
|
||||
|
||||
Reference in New Issue
Block a user