guix-commits
[Top][All Lists]
Advanced

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

78/231: gnu: python-jedi: Update to 0.19.1.


From: guix-commits
Subject: 78/231: gnu: python-jedi: Update to 0.19.1.
Date: Tue, 15 Oct 2024 17:11:02 -0400 (EDT)

sharlatan pushed a commit to branch python-team-old
in repository guix.

commit 9805dc1e5cd326f474007b6fa1b6d24d7d4ba557
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Tue May 7 07:57:29 2024 +0200

    gnu: python-jedi: Update to 0.19.1.
    
    * gnu/packages/python-xyz.scm (python-jedi): Update to 0.19.1.
    [build-system]: Use pyproject-build-system.
    [arguments]: Remove custom 'check phase; add 'set-HOME phase.
    [native-inputs]: Add python-setuptools and python-wheel.
    
    Change-Id: Iee74d0850e294cec2e139039d1f93b429e76c29d
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c82a48ea9b..64df808c50 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22045,7 +22045,7 @@ scans through a file and detects issues.")
 (define-public python-jedi
   (package
     (name "python-jedi")
-    (version "0.18.2")
+    (version "0.19.1")
     (source
      (origin
        (method git-fetch)
@@ -22056,19 +22056,20 @@ scans through a file and detects issues.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "1nhsajmkn3qj32k5z3ymrd3r6dz2aliv2pqb824m5kaib986dm44"))
-       (modules '((guix build utils)))))
-    (build-system python-build-system)
+         "1lpvxa16zyhg95s8ji3sm19qz3bawal172xwlzcl5h80mhhfagih"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (setenv "HOME" "/tmp")
-               (invoke "python" "-m" "pytest" "-vv")))))))
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-before 'check 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp"))))))
     (native-inputs
-     (list python-colorama python-docopt python-pytest))
+     (list python-colorama
+           python-docopt
+           python-pytest
+           python-setuptools
+           python-wheel))
     (propagated-inputs
      (list python-parso))
     (home-page "https://github.com/davidhalter/jedi";)



reply via email to

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