gnu: python-jedi: Fix tests.

* gnu/packages/python-xyz.scm (python-jedi)[source]: Add 'modules' and
'snippet'.
This commit is contained in:
Ludovic Courtès 2022-06-24 22:37:49 +02:00
parent 3e7b6dd149
commit fdf9aaec02
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -17033,7 +17033,14 @@ (define-public python-jedi
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (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) (build-system python-build-system)
(arguments (arguments
`(#:phases `(#:phases