diff options
Diffstat (limited to 'gnu/packages/python-xyz.scm')
-rw-r--r-- | gnu/packages/python-xyz.scm | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index b937eef63a..459d5d44e1 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -3191,14 +3191,14 @@ provides additional functionality on the produced Mallard documents.") (define-public python-cython (package (name "python-cython") - (version "0.29.11") + (version "0.29.13") (source (origin (method url-fetch) (uri (pypi-uri "Cython" version)) (sha256 (base32 - "1866m01ggl2h3rky4hac3m5p048gg4a0jb09ljkknryiqln54fkn")))) + "13k37lrcgagwwnzr5bzririsscb793vndj234d475x1h9ad0d7f2")))) (build-system python-build-system) ;; we need the full python package and not just the python-wrapper ;; because we need libpython3.3m.so @@ -3230,7 +3230,12 @@ provides additional functionality on the produced Mallard documents.") (replace 'check (lambda _ - (invoke "python" "runtests.py" "-vv")))))) + ;; Disable compiler optimizations to greatly reduce the running + ;; time of the test suite. + (setenv "CFLAGS" "-O0") + + (invoke "python" "runtests.py" "-vv" + "-j" (number->string (parallel-job-count)))))))) (home-page "https://cython.org/") (synopsis "C extensions for Python") (description "Cython is an optimising static compiler for both the Python @@ -8782,20 +8787,24 @@ python-xdo for newer bindings.)") (define-public python-mako (package (name "python-mako") - (version "1.0.13") + (version "1.1.0") (source (origin (method url-fetch) (uri (pypi-uri "Mako" version)) (sha256 (base32 - "0h95n0g0k1jwxiqarr09navpfajarvbmpm8mhmw66c25qc675vlm")))) + "0jqa3qfpykyn4fmkn0kh6043sfls7br8i2bsdbccazcvk9cijsd3")))) (build-system python-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) (propagated-inputs `(("python-markupsafe" ,python-markupsafe))) (native-inputs `(("python-mock" ,python-mock) - ("python-nose" ,python-nose) ("python-pytest" ,python-pytest))) (home-page "https://www.makotemplates.org/") (synopsis "Templating language for Python") |