mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-jupyter-lsp: Update to 2.3.0.
* gnu/packages/jupyter.scm (python-jupyter-lsp): Update to 2.3.0. Use G-expressions. [source] <uri>: Fix name as per PyPI archive. [arguments] <test-flags>: Skip some tests. [native-inputs]: Remove python-wheel; add python-pytest-asyncio. Change-Id: Iece3586280f61aaad0c0b7821a6d90580c962cc5
This commit is contained in:
parent
c41b31efdb
commit
4fa75abbfe
1 changed files with 17 additions and 10 deletions
|
@ -361,26 +361,33 @@ to Jupyter Server for their Python Web application backend.")
|
|||
(define-public python-jupyter-lsp
|
||||
(package
|
||||
(name "python-jupyter-lsp")
|
||||
(version "2.2.5")
|
||||
(version "2.3.0")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (pypi-uri "jupyter-lsp" version))
|
||||
(uri (pypi-uri "jupyter_lsp" version))
|
||||
(sha256
|
||||
(base32 "00ahai7wp0m98glpqsrd1bymcllzkb8irvskzl4zhinlbah4fcbr"))))
|
||||
(base32 "0i825shcn9d3f7a5zmvcj1p87s5wgpqn8cyphjvqz1nw769sb2j5"))))
|
||||
(build-system pyproject-build-system)
|
||||
(arguments
|
||||
(list
|
||||
;; tests: 63 passed, 8 skipped, 1 deselected, 20 warnings
|
||||
#:test-flags
|
||||
;; No R language server is present.
|
||||
'(list "-k" "not test_r_package_detection")
|
||||
;; Network access is required or most tests failed.
|
||||
#~(list "--ignore=jupyter_lsp/tests/test_listener.py"
|
||||
"--ignore=jupyter_lsp/tests/test_session.py"
|
||||
;; No R language server is present.
|
||||
"-k" "not test_r_package_detection")
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
;; Some tests require a writable HOME
|
||||
(add-before 'check 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
#~(modify-phases %standard-phases
|
||||
;; Some tests require a writable HOME
|
||||
(add-before 'check 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
(native-inputs
|
||||
(list python-pytest
|
||||
python-pytest-asyncio
|
||||
python-setuptools))
|
||||
(propagated-inputs (list python-jupyter-server))
|
||||
(native-inputs (list python-pytest python-setuptools python-wheel))
|
||||
(home-page "https://pypi.org/project/jupyter-lsp/")
|
||||
(synopsis "Multi-Language Server WebSocket proxy for Jupyter Notebook/Lab server")
|
||||
(description
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue