guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

06/06: gnu: python-jedi: Update to 0.12.0, enable tests.


From: Ludovic Courtès
Subject: 06/06: gnu: python-jedi: Update to 0.12.0, enable tests.
Date: Mon, 30 Apr 2018 08:37:26 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit fb8966abc43415ca6d1f141c44ebf0c563cea4d2
Author: Fis Trivial <address@hidden>
Date:   Fri Apr 27 07:03:24 2018 +0000

    gnu: python-jedi: Update to 0.12.0, enable tests.
    
    * gnu/packages/python.scm (jedi): Update to 0.12.0, enable tests.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/python.scm | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm
index f23deb5..a359eeb 100644
--- a/gnu/packages/python.scm
+++ b/gnu/packages/python.scm
@@ -9357,25 +9357,30 @@ characters, mouse support, and auto suggestions.")
 (define-public python-jedi
   (package
     (name "python-jedi")
-    (version "0.9.0")
+    (version "0.12.0")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "jedi" version))
-        (sha256
-          (base32
-            "0c8x962ynpx001fdvp07m2q5jk4igkxbj3rmnydavphvlgxijk1v"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "jedi" version))
+       (sha256
+        (base32
+         "1bcr7csx4xil1iwmk03d79jis0bkmgi9k0kir3xa4rmwqsagcwhr"))))
     (build-system python-build-system)
     (arguments
-     ;; FIXME: One test fails (use "py.test" instead of 'setup.py test').
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check (lambda _
+                           (invoke "py.test" "-vv"))))))
     (native-inputs
-     `(("python-pytest" ,python-pytest)))
+     `(("python-pytest" ,python-pytest)
+       ("python-parso" ,python-parso)
+       ("python-docopt" ,python-docopt)))
     (home-page "https://github.com/davidhalter/jedi";)
     (synopsis
-      "Autocompletion for Python that can be used for text editors")
+     "Autocompletion for Python that can be used for text editors")
     (description
-      "Jedi is an autocompletion tool for Python that can be used for text 
editors.")
+     "Jedi is an autocompletion tool for Python that can be used for text
+ editors.")
     (license license:expat)))
 
 (define-public python2-jedi



reply via email to

[Prev in Thread] Current Thread [Next in Thread]