guix-commits
[Top][All Lists]
Advanced

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

branch core-updates updated: gnu: python-jedi: Update to 0.18.2.


From: guix-commits
Subject: branch core-updates updated: gnu: python-jedi: Update to 0.18.2.
Date: Thu, 23 Feb 2023 09:33:36 -0500

This is an automated email from the git hooks/post-receive script.

andreas pushed a commit to branch core-updates
in repository guix.

The following commit(s) were added to refs/heads/core-updates by this push:
     new cb3332808f gnu: python-jedi: Update to 0.18.2.
cb3332808f is described below

commit cb3332808f42beb4c08970ed792875ee145b715c
Author: Andreas Enge <andreas@enge.fr>
AuthorDate: Thu Feb 23 15:29:01 2023 +0100

    gnu: python-jedi: Update to 0.18.2.
    
    * gnu/packages/python-xyz.scm (python-jedi): Update to 0.18.2.
      [source]: Drop snippet.
      [arguments]: Drop phase.
---
 gnu/packages/python-xyz.scm | 20 +++-----------------
 1 file changed, 3 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 960ff2e433..782fa931f8 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18155,7 +18155,7 @@ scans through a file and detects issues.")
 (define-public python-jedi
   (package
     (name "python-jedi")
-    (version "0.18.1")
+    (version "0.18.2")
     (source
      (origin
        (method git-fetch)
@@ -18166,26 +18166,12 @@ scans through a file and detects issues.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "07drmi3ai49jw5n23ibkambcgijqcw073ihypjgxfnks5lv4yqy1"))
-       (modules '((guix build utils)))
-       (snippet
-        ;; Adjust comprehension syntax for Python > 3.8.
-        ;; From <https://github.com/davidhalter/jedi/issues/1824>.
-        '(substitute* "test/completion/lambdas.py"
-           (("if lambda: 3")
-            "if (lambda: 3)")))))
+         "1nhsajmkn3qj32k5z3ymrd3r6dz2aliv2pqb824m5kaib986dm44"))
+       (modules '((guix build utils)))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-after 'unpack 'fix-completion-test
-           (lambda _
-             ;; This resolves a failure in the 'test_completion' test (see:
-             ;; https://github.com/davidhalter/jedi/issues/1824).
-             ;; TODO: Remove after a new release is made (currently: 0.18.1).
-             (substitute* "test/completion/lambdas.py"
-               (("\\[a for a in \\[1,2\\] if lambda: 3\\]\\[0\\]")
-                "[a for a in [1,2] if (lambda: 3)][0]"))))
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
              (when tests?



reply via email to

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