summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Christ <jc@jchri.st>2025-07-20 19:29:22 +0200
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-07-22 18:59:32 +0100
commit239443e0a152fe918dd6fee889d540e83eb367a7 (patch)
tree9fd06638d6b74bf57c2aebeb880496afd6ae5c17
parentf08d4a3d3adbe1783623fb5a0970e1b69796f680 (diff)
gnu: python-lsp-server: Update to 1.13.0.
* gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.13.0. [arguments] <test-flags>: Rework the list of skipped tests. [propagated-inputs]: Add python-black. [native-inputs]: Remove python-autopep8, python-flake8, python-numpy, python-pandas; add python-websockets. Change-Id: I1e0087a43374085ccb95f15df5c9f9f24901d6ad Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
-rw-r--r--gnu/packages/python-xyz.scm22
1 files changed, 10 insertions, 12 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 32a2cd2400..2699ff896b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9688,32 +9688,32 @@ Server (PLS).")
(define-public python-lsp-server
(package
(name "python-lsp-server")
- (version "1.12.0")
+ (version "1.13.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "python_lsp_server" version))
(sha256
(base32
- "0fq5vkwkvn29rwf5l19iicmj913franc6q8ymjdvs0ys53qkd8xn"))))
+ "0s8dipxkdshg27a7a2nnkgg3kmksvbkfa7g39n310k6g7sv2d3rp"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
'(list "-c" "/dev/null" ;avoid coverage
+ "--ignore-glob" "**/test_autopep8_format.py" ;avoid autopep8 dep
"-k"
(string-append
- "not test_pyqt_completion " ;avoid pyqt5
- ;; This test fails with "AssertionError: assert 'isabs(s)' ==
- ;; 'commonprefix(m)'" (see:
- ;; https://github.com/python-lsp/python-lsp-server/issues/602).
- "and not test_jedi_completion_with_fuzzy_enabled"))
+ "not test_concurrent_ws_requests " ; flaky
+ "and not test_pyqt_completion " ; avoid pyqt5
+ "and not test_pandas_completion")) ; avoid pandas
#:phases
'(modify-phases %standard-phases
(add-before 'check 'set-HOME
(lambda _ (setenv "HOME" "/tmp"))))))
(propagated-inputs
- (list python-docstring-to-markdown
+ (list python-black
+ python-docstring-to-markdown
python-importlib-metadata
python-jedi
python-lsp-jsonrpc
@@ -9724,17 +9724,15 @@ Server (PLS).")
python-whatthepatch
python-yapf))
(native-inputs
- (list python-autopep8
- python-flake8
+ (list python-flake8
python-flaky
python-matplotlib
- python-numpy
- python-pandas
python-pylint
python-pytest
python-rope
python-setuptools
python-setuptools-scm
+ python-websockets
python-wheel))
(home-page "https://github.com/python-lsp/python-lsp-server")
(synopsis "Python implementation of the Language Server Protocol")