guix-commits
[Top][All Lists]
Advanced

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

123/361: gnu: python-lsp-server: Update to 1.11.0.


From: guix-commits
Subject: 123/361: gnu: python-lsp-server: Update to 1.11.0.
Date: Fri, 22 Nov 2024 06:00:25 -0500 (EST)

andreas pushed a commit to branch python-team
in repository guix.

commit 2511479d76838a33bb649d156c91071873ac7343
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed May 8 13:09:48 2024 +0200

    gnu: python-lsp-server: Update to 1.11.0.
    
    * gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.11.0.
    [build-system]: Use pyproject-build-system.
    [arguments]: Replace custom 'check phase with #:test-flags.
    [propagated-inputs]: Remove python-autopep8, python-flake8, python-future, 
and
    python-rope; add python-docstring-to-markdown, python-importlib-metadata, 
and
    python-whatthepatch.
    [native-inputs]: Add python-autopep8, python-flake8, python-rope,
    python-setuptools, and python-wheel; remove python-mock and 
python-versioneer.
    
    Change-Id: I64e5b3f9f9a92f720d006634fe24ca094c96ea60
---
 gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++++--------------------
 1 file changed, 22 insertions(+), 20 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4a625719ae..a1dc0cfe24 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -8504,49 +8504,51 @@ Server (PLS).")
 (define-public python-lsp-server
   (package
     (name "python-lsp-server")
-    (version "1.3.3")
+    (version "1.11.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "python-lsp-server" version))
        (sha256
         (base32
-         "0h6wxzmm6qjfwkkn3mnzn1fpmcp23fpbk74bi8p540q1nzccqj0v"))))
-    (build-system python-build-system)
+         "11lf7c9dpf8jzz5y7dllz8l1lka887m9a79xbazy8lkq7zxxdvc9"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
+     (list
+      #:test-flags
+      '(list "-k" "not test_pyqt_completion"
+             ;; This could be a real issue due to our old version of
+             ;; pydocstyle.
+             "--ignore=test/plugins/test_pydocstyle_lint.py")
+      #:phases
+      '(modify-phases %standard-phases
          (add-before 'check 'set-HOME
-           (lambda _ (setenv "HOME" "/tmp")))
-         (replace 'check
-           (lambda _
-             ;; Disable failing test.
-             (invoke "python" "-m" "pytest" "-k"
-                     "not test_pyqt_completion"))))))
+           (lambda _ (setenv "HOME" "/tmp"))))))
     (propagated-inputs
-     (list python-autopep8
-           python-pydocstyle
-           python-flake8
-           python-future
+     (list python-docstring-to-markdown
+           python-importlib-metadata
            python-jedi
            python-lsp-jsonrpc
            python-pluggy
            python-pycodestyle
-           python-pyflakes
-           python-rope
+           python-pydocstyle
            python-ujson
+           python-whatthepatch
            python-yapf))
     (native-inputs
-     (list python-coverage
+     (list python-autopep8
+           python-flake8
+           python-coverage
            python-flaky
            python-matplotlib
-           python-mock
            python-numpy
            python-pandas
            python-pylint
            python-pytest
            python-pytest-cov
-           python-versioneer))
+           python-rope
+           python-setuptools
+           python-wheel))
     (home-page "https://github.com/python-lsp/python-lsp-server";)
     (synopsis "Python implementation of the Language Server Protocol")
     (description



reply via email to

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