GNU bug report logs -
#70400
[PATCH] Update python-lsp-server
Previous Next
Full log
Message #44 received at 70400 <at> debbugs.gnu.org (full text, mbox):
The other patches LGTM. Maybe if you want it to be merged quicker, we
can update it to 1.7.0 without updating pycodestyle in master, and
further update it to 1.11.0 in python-team branch.
WDYT?
On 2024-04-15 19:45, Jonathan Pieper via Guix-patches via wrote:
> * gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.11.0.
> [build-system]: Change to pyproject-build-system.
> [arguments]{set-version}: Set version explicitly to pass sanity-check.
> {check}: Do not replace it as test_pyqt_completion is no longer failing.
> [propagated-inputs]: Remove python-future and add python-docstring-to-markdown.
> [native-inputs]: Remove python-mock, python-versioneer and add python-whatthepatch, python-pyqt.
>
> Change-Id: I937730caaae394141af13881a107157868b18bab
> ---
> gnu/packages/python-xyz.scm | 75 ++++++++++++++++++-------------------
> 1 file changed, 37 insertions(+), 38 deletions(-)
>
> diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
> index cead2adb44..586d83a8cb 100644
> --- a/gnu/packages/python-xyz.scm
> +++ b/gnu/packages/python-xyz.scm
> @@ -152,6 +152,7 @@
> ;;; Copyright © 2024 Adriel Dumas--Jondeau <leirda <at> disroot.org>
> ;;; Copyright © 2024 Navid Afkhami <navid.afkhami <at> mdc-berlin.de>
> ;;; Copyright © 2024 TakeV <takev <at> disroot.org>
> +;;; Copyright © 2024 Jonathan Pieper <jpieper <at> mailbox.org>
> ;;;
> ;;; This file is part of GNU Guix.
> ;;;
> @@ -7874,53 +7875,51 @@ (define-public python-pydocstyle
> (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)
> + (base32 "11lf7c9dpf8jzz5y7dllz8l1lka887m9a79xbazy8lkq7zxxdvc9"))))
> + (build-system pyproject-build-system)
> (arguments
> - `(#: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"))))))
> - (propagated-inputs
> - (list python-autopep8
> - python-pydocstyle
> - python-flake8
> - python-future
> - python-jedi
> - python-lsp-jsonrpc
> - python-pluggy
> - python-pycodestyle
> - python-pyflakes
> - python-rope
> - python-ujson
> - python-yapf))
> - (native-inputs
> - (list python-coverage
> - python-flaky
> - python-matplotlib
> - python-mock
> - python-numpy
> - python-pandas
> - python-pylint
> - python-pytest
> - python-pytest-cov
> - python-versioneer))
> + `(#:phases (modify-phases %standard-phases
> + (add-after 'unpack 'set-version
> + (lambda _
> + (substitute* "pyproject.toml"
> + (("dynamic = \\[\"version\"\\]")
> + (string-append "version = \""
> + ,version "\"")))))
> + (add-before 'check 'set-HOME
> + (lambda _
> + (setenv "HOME" "/tmp"))))))
> + (propagated-inputs (list python-autopep8
> + python-docstring-to-markdown
> + python-pydocstyle
> + python-flake8
> + python-jedi
> + python-lsp-jsonrpc
> + python-pluggy
> + python-pycodestyle
> + python-pyflakes
> + python-rope
> + python-ujson
> + python-yapf))
> + (native-inputs (list python-coverage
> + python-flaky
> + python-matplotlib
> + python-numpy
> + python-pandas
> + python-pylint
> + python-pyqt
> + python-pytest
> + python-pytest-cov
> + python-whatthepatch))
> (home-page "https://github.com/python-lsp/python-lsp-server")
> (synopsis "Python implementation of the Language Server Protocol")
> (description
> -"The Python Language Server @command{pylsp} is an implementation of the
> + "The Python Language Server @command{pylsp} is an implementation of the
> Python 3 language specification for the Language Server Protocol (LSP).
> This tool is used in text editing environments to provide a complete
> and integrated feature-set for programming Python effectively.")
--
Best regards,
Nicolas Graves
This bug report was last modified 136 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.