From f674270c07378721fc12600e380bab4c3bf57d4c Mon Sep 17 00:00:00 2001 From: Danny Milosavljevic Date: Sun, 1 Mar 2026 01:54:58 +0100 Subject: gnu: python-cvxpy: Fix intermittent build failure. * gnu/packages/python-science.scm (python-cvxpy)[arguments]<#:phases>{set-ci-environment}: New phase. Change-Id: I4e76b5e88c03f4b2c6915181231b700512d6f37a --- gnu/packages/python-science.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-science.scm') diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index b48896ef490..aef89267989 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -810,7 +810,14 @@ it can be used for displaying many qualitatively different samples.") ;; cvxpy.error.SolverError: Solver 'CVXOPT' ;; failed. Try another solver, or solve with ;; verbose=True for more information. - "TestOpRelConeQuad::test_oprelcone_2"))))) + "TestOpRelConeQuad::test_oprelcone_2"))) + #:phases + #~(modify-phases %standard-phases + (add-before 'check 'set-ci-environment + (lambda _ + ;; Activate hypothesis CI profile to suppress + ;; HealthCheck.too_slow which fails on slow build machines. + (setenv "CI" "1")))))) (native-inputs (list pybind11-2 python-pytest -- cgit v1.3