From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wNAfCfido2FyXgAAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 16:19:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CIjZBPido2EwYQAAB5/wlQ (envelope-from ) for ; Sun, 28 Nov 2021 15:19:20 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C3F1D2DD7D for ; Sun, 28 Nov 2021 16:19:19 +0100 (CET) Received: from localhost ([::1]:53960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mrLxX-0002Vo-1b for larch@yhetil.org; Sun, 28 Nov 2021 10:19:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34018) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrLxG-0002Eu-CE for guix-patches@gnu.org; Sun, 28 Nov 2021 10:19:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52874) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mrLxG-0006ra-2h for guix-patches@gnu.org; Sun, 28 Nov 2021 10:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mrLxF-0008AD-VM for guix-patches@gnu.org; Sun, 28 Nov 2021 10:19:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#52160] [PATCH 6/7] gnu: Add python-lsp-server. Resent-From: jgart Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 28 Nov 2021 15:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52160 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 52160@debbugs.gnu.org Cc: jgart X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163811268531281 (code B ref -1); Sun, 28 Nov 2021 15:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 28 Nov 2021 15:18:05 +0000 Received: from localhost ([127.0.0.1]:36186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrLwK-00088O-Qp for submit@debbugs.gnu.org; Sun, 28 Nov 2021 10:18:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:53016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mrLw8-00086u-TV for submit@debbugs.gnu.org; Sun, 28 Nov 2021 10:17:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33702) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrLw7-0000hf-LS for guix-patches@gnu.org; Sun, 28 Nov 2021 10:17:52 -0500 Received: from mx1.dismail.de ([78.46.223.134]:43863) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mrLw5-0006fM-Pd for guix-patches@gnu.org; Sun, 28 Nov 2021 10:17:51 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 9252e791 for ; Sun, 28 Nov 2021 16:11:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=20190914; bh=7A3JFzVubXG7TSqgY8ryh eN7k6XxAbP8Vvhj5XtNG2Y=; b=Ety1Ffn7IJN2AeLSkxb+6gaeE1uV1csfH86Ja FszhRP6bDdX6VDZx/u86Xr+FTvb8FIY41Z5C9JYhtUshVOwAqrz8gAkLIe/GlTNt kRW0Mbxr6e08zbVGjKRF4xjaLmRjbc1GNVs38RxmgTOJGDF7F81btdWovIu1r1nv J/dNIqJafA43ezQCU0eOoFB8KEUtWx5n2xuSmQgpiFi4ulca5DjgpgbhXlBRhIWh LyotAsu7UdqC3mjJEDLDDmTWYLjD4wMCrNpEOn+8FaMfJcznUhdqW1T2TlaHp5ja 9aapqA6e8MCSGEtjpq9I8YNfLKGo+wWUlgIDD3O3JVxof855A== Received: from smtp1.dismail.de ( [10.240.26.11]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 4e9527ff for ; Sun, 28 Nov 2021 16:11:01 +0100 (CET) Received: from smtp1.dismail.de (localhost [127.0.0.1]) by smtp1.dismail.de (OpenSMTPD) with ESMTP id 1bef8733 for ; Sun, 28 Nov 2021 16:11:00 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 427cfffe (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Sun, 28 Nov 2021 16:10:59 +0100 (CET) Date: Sun, 28 Nov 2021 10:08:55 -0500 Message-Id: <20211128150855.31108-6-jgart@dismail.de> X-Mailer: git-send-email 2.34.0 In-Reply-To: <20211128150855.31108-1-jgart@dismail.de> References: <20211128150855.31108-1-jgart@dismail.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=78.46.223.134; envelope-from=jgart@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: jgart X-ACL-Warn: , jgart via Guix-patches From: jgart via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638112759; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=PVCVx4e5u8XODhV0YnEqtyM4tcEFExbGZTOeFK4sYHM=; b=FaHN6MyRIc9AgW2jW2CFjnIuRhyBMyP2rqta5sFxrB8uEquoaKMOMB+LMYv9XQWPS9TB6J qxwGpnhxH/ICPKQNZAmv6wkDWW+rctlTz2QW76fReBHEk0FqGBUU7M7TPiphiui0yPFx+5 rQ90Gxrox5AT0VKG/bosaZTcpqOUwY2oyQMQVteZP4/bwNoH4CDZh3LmEwbu/fFb/hjiNt iksTrruFw5lgfNsAOhy87smuNcvQBsg2/LcI+sdrM+4hPhnKznVw7aM3FfGchYNKJkWSyK v3QzcRRB1xj/KOmBMeSh5Ky0JzAhCNXstQXMe3O81f/uI8X7zRHhAzUnevxwkQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638112759; a=rsa-sha256; cv=none; b=bLHB8+WsXFSgXQZCUQF8pvCJ+b4mG+fPdRDB3Ihko3K8hXbRiMGawmBibvWFPmjlrMadmR hRidM7Mcsg95yaTQlfWWhDLPd2G1h1H6y9LE3lVs4r/vNnJdyTa+8vJtJnjqYvEJ2Ldiak SdxYfGoZkppx/fAq3A8mRaeh+eXIgpT3wgLZyyjmT8SpqgkeJRasVqOe9gkKpPAvU+P6nT FKVZe9xOT8Q8a9IYOzOaJMTHyMFFvGjt+1Jzcy3XcIvLW4CFEAw1ZUx2gvABfX5DvffA7m dRcvru+UVFzIjhDCwGvLjnxfB3/aBEvfhIz2DT0v5g9zaDx3TNVkLY51/bkMSg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=Ety1Ffn7; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dismail.de header.s=20190914 header.b=Ety1Ffn7; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: C3F1D2DD7D X-Spam-Score: -3.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5aoHBm94paQ6 * gnu/packages/python-xyz.scm (python-language-server): Delete variable. * gnu/packages/python-xyz.scm (python-lsp-server): New variable. Removes deprecated python-language-server package and adds maintained fork. --- gnu/packages/python-xyz.scm | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 942dae04f3..4a0b811ed6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -4972,29 +4972,23 @@ (define-public python-pydocstyle Server (PLS).") (license license:expat))) -(define-public python-language-server +(define-public python-lsp-server (package - (name "python-language-server") - (version "0.36.2") + (name "python-lsp-server") + (version "1.3.1") (source (origin (method url-fetch) - (uri (pypi-uri "python-language-server" version)) + (uri (pypi-uri "python-lsp-server" version)) (sha256 (base32 - "1c0pnk2aibfhfaanrs0a5gkabkvz81gj20z7r0152b7fcx5ci14r")))) + "15075a5irjxh55wcdf25hllz9c42byxc4770cmwgb480k1dm8scq")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases - (add-after 'unpack 'relax-deps - (lambda _ - (substitute* "setup.py" (("pycodestyle>=2.6.0,<2.7.0") - "pycodestyle")) - (substitute* "setup.py" (("pyflakes>=2.2.0,<2.3.0") "pyflakes")) - #t)) (add-before 'check 'set-HOME - (lambda _ (setenv "HOME" "/tmp") #t)) + (lambda _ (setenv "HOME" "/tmp"))) (replace 'check (lambda _ ;; Disable failing test. @@ -5007,7 +5001,7 @@ (define-public python-language-server ("python-flake8" ,python-flake8) ("python-future" ,python-future) ("python-jedi" ,python-jedi) - ("python-jsonrpc-server" ,python-jsonrpc-server) + ("python-lsp-jsonrpc" ,python-lsp-jsonrpc) ("python-pluggy" ,python-pluggy) ("python-pycodestyle" ,python-pycodestyle) ("python-pyflakes" ,python-pyflakes) @@ -5028,10 +5022,10 @@ (define-public python-language-server (home-page "https://github.com/palantir/python-language-server") (synopsis "Python implementation of the Language Server Protocol") (description - "The Python Language Server (pyls) 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.") +"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.") (license license:expat))) (define-public python-pathspec -- 2.34.0