guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: python-jedi: Fix tests.


From: guix-commits
Subject: 02/09: gnu: python-jedi: Fix tests.
Date: Fri, 24 Jun 2022 17:40:42 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit fdf9aaec022ce6e6229dde79877950cdd3989736
Author: Ludovic Court├Ęs <ludo@gnu.org>
AuthorDate: Fri Jun 24 22:37:49 2022 +0200

    gnu: python-jedi: Fix tests.
    
    * gnu/packages/python-xyz.scm (python-jedi)[source]: Add 'modules' and
    'snippet'.
---
 gnu/packages/python-xyz.scm | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f8ca2242ed..5ca355b1a7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -17033,7 +17033,14 @@ scans through a file and detects issues.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "07drmi3ai49jw5n23ibkambcgijqcw073ihypjgxfnks5lv4yqy1"))))
+         "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)")))))
     (build-system python-build-system)
     (arguments
      `(#:phases



reply via email to

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