Attention une mise à jour du service Gitlab va être effectuée le mardi 14 décembre entre 13h30 et 14h00. Cette mise à jour va générer une interruption du service dont nous ne maîtrisons pas complètement la durée mais qui ne devrait pas excéder quelques minutes.

Commit 27096d90 authored by MARAIT Gilles's avatar MARAIT Gilles
Browse files

Add a fixed version of python2-sympy

parent 440fdcac
......@@ -28,6 +28,7 @@
#:use-module (inria simgrid)
#:use-module (guix utils)
#:use-module (srfi srfi-1)
#:use-module (guix build-system python)
(define-public parsec
......@@ -929,3 +930,20 @@ e.g. by import statements in a single process and uses MPI to transmit data
to/from all other processes.")
(propagated-inputs `(("openmpi" ,openmpi)))
(define-public fixed-python2-sympy
(inherit (package-with-python2 python-sympy))
(name "fixed-python2-sympy")
`(#:python ,python-2
(modify-phases %standard-phases
;; Run the core tests after installation. By default it would run
;; *all* tests, which take a very long time to complete and are known
;; to be flaky.
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs #:allow-other-keys)
(invoke "python" "-c" "import sympy; sympy.test(\"/core\")")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment