guix-commits
[Top][All Lists]
Advanced

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

77/361: gnu: python-jedi: Update to 0.19.1.


From: guix-commits
Subject: 77/361: gnu: python-jedi: Update to 0.19.1.
Date: Fri, 22 Nov 2024 06:00:15 -0500 (EST)

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

commit 7193297e6e7d49b680ae0b0789be97a51beb3708
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 d832a45697..113dde1c10 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -22624,7 +22624,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)
@@ -22635,19 +22635,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]