mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: python-lsp-server: Update to 1.12.0, fixing build.
* gnu/packages/python-xyz.scm (python-lsp-server): Update to 1.12.0. [source]: Update URI. [arguments]: Via #:test-flags, reinstate test_pydocstyle_lint test and skip the test_jedi_completion_with_fuzzy_enabled one. Ignore conftest.py. [native-inputs]: Remove python-coverage and python-pytest-cov. Add python-setuptools-scm. Change-Id: I48eed0b0ecd3ca6ac187292620d75aba9090307f
This commit is contained in:
parent
fc40c8b47a
commit
907590b671
1 changed files with 13 additions and 10 deletions
|
@ -8553,22 +8553,26 @@ Server (PLS).")
|
||||||
(define-public python-lsp-server
|
(define-public python-lsp-server
|
||||||
(package
|
(package
|
||||||
(name "python-lsp-server")
|
(name "python-lsp-server")
|
||||||
(version "1.11.0")
|
(version "1.12.0")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (pypi-uri "python-lsp-server" version))
|
(uri (pypi-uri "python_lsp_server" version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"11lf7c9dpf8jzz5y7dllz8l1lka887m9a79xbazy8lkq7zxxdvc9"))))
|
"0fq5vkwkvn29rwf5l19iicmj913franc6q8ymjdvs0ys53qkd8xn"))))
|
||||||
(build-system pyproject-build-system)
|
(build-system pyproject-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:test-flags
|
#:test-flags
|
||||||
'(list "-k" "not test_pyqt_completion"
|
'(list "-c" "/dev/null" ;avoid coverage
|
||||||
;; This could be a real issue due to our old version of
|
"-k"
|
||||||
;; pydocstyle.
|
(string-append
|
||||||
"--ignore=test/plugins/test_pydocstyle_lint.py")
|
"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"))
|
||||||
#:phases
|
#:phases
|
||||||
'(modify-phases %standard-phases
|
'(modify-phases %standard-phases
|
||||||
(add-before 'check 'set-HOME
|
(add-before 'check 'set-HOME
|
||||||
|
@ -8587,16 +8591,15 @@ Server (PLS).")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list python-autopep8
|
(list python-autopep8
|
||||||
python-flake8
|
python-flake8
|
||||||
python-coverage
|
|
||||||
python-flaky
|
python-flaky
|
||||||
python-matplotlib
|
python-matplotlib
|
||||||
python-numpy
|
python-numpy
|
||||||
python-pandas
|
python-pandas
|
||||||
python-pylint
|
python-pylint
|
||||||
python-pytest
|
python-pytest
|
||||||
python-pytest-cov
|
|
||||||
python-rope
|
python-rope
|
||||||
python-setuptools
|
python-setuptools
|
||||||
|
python-setuptools-scm
|
||||||
python-wheel))
|
python-wheel))
|
||||||
(home-page "https://github.com/python-lsp/python-lsp-server")
|
(home-page "https://github.com/python-lsp/python-lsp-server")
|
||||||
(synopsis "Python implementation of the Language Server Protocol")
|
(synopsis "Python implementation of the Language Server Protocol")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue