guix_mirror_bot pushed a commit to branch master
in repository guix.

commit f674270c07378721fc12600e380bab4c3bf57d4c
Author: Danny Milosavljevic <[email protected]>
AuthorDate: Sun Mar 1 01:54:58 2026 +0100

    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(-)

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b48896ef49..aef8926798 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

Reply via email to