unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jonathan Pieper via Guix-patches via <guix-patches@gnu.org>
To: 70400@debbugs.gnu.org
Cc: Jonathan Pieper <jpieper@mailbox.org>,
	Lars-Dominik Braun <lars@6xq.net>, Marius Bakke <marius@gnu.org>,
	Munyoki Kilyungi <me@bonfacemunyoki.com>,
	Sharlatan Hellseher <sharlatanus@gmail.com>,
	Tanguy Le Carrour <tanguy@bioneland.org>,
	jgart <jgart@dismail.de>
Subject: [bug#70400] [PATCH 7/7] gnu: python-lsp-server: Update to 1.11.0.
Date: Mon, 15 Apr 2024 19:45:10 +0200	[thread overview]
Message-ID: <7084c71bde60c693444abd0631acf1537b5ab86b.1713203110.git.jpieper@mailbox.org> (raw)
In-Reply-To: <7d0ec10d21258d9f858f9c9fe2cde132d4a06106.1713203110.git.jpieper@mailbox.org>

* 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@disroot.org>
 ;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de>
 ;;; Copyright © 2024 TakeV <takev@disroot.org>
+;;; Copyright © 2024 Jonathan Pieper <jpieper@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.")
-- 
2.41.0





      parent reply	other threads:[~2024-04-15 20:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-15 17:34 [bug#70400] [PATCH] Update python-lsp-server Jonathan Pieper via Guix-patches via
2024-04-15 17:45 ` [bug#70400] [PATCH 1/7] gnu: Add python-docstring-to-markdown Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` [bug#70400] [PATCH 2/7] gnu: Add python-pytoolconfig Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` [bug#70400] [PATCH 3/7] gnu: python-lsp-jsonrpc: Update to 1.1.2 Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` [bug#70400] [PATCH 4/7] gnu: python-snowballstemmer: Update to 2.2.0 Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` [bug#70400] [PATCH 5/7] gnu: python-pydocstyle: Update to 6.3.0 Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` [bug#70400] [PATCH 6/7] gnu: python-rope: Update to 1.13.0 Jonathan Pieper via Guix-patches via
2024-04-15 17:45   ` Jonathan Pieper via Guix-patches via [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7084c71bde60c693444abd0631acf1537b5ab86b.1713203110.git.jpieper@mailbox.org \
    --to=guix-patches@gnu.org \
    --cc=70400@debbugs.gnu.org \
    --cc=jgart@dismail.de \
    --cc=jpieper@mailbox.org \
    --cc=lars@6xq.net \
    --cc=marius@gnu.org \
    --cc=me@bonfacemunyoki.com \
    --cc=sharlatanus@gmail.com \
    --cc=tanguy@bioneland.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).