From patchwork Wed Sep 11 22:39:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brian Leung X-Patchwork-Id: 15352 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6BB05173AB; Wed, 11 Sep 2019 23:40:49 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 1C3E417352 for ; Wed, 11 Sep 2019 23:40:49 +0100 (BST) Received: from localhost ([::1]:56862 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8BI8-0005aj-IW for patchwork@mira.cbaines.net; Wed, 11 Sep 2019 18:40:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43055) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i8BHP-0004u9-LG for guix-patches@gnu.org; Wed, 11 Sep 2019 18:40:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i8BHO-0000Wn-6M for guix-patches@gnu.org; Wed, 11 Sep 2019 18:40:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:34043) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i8BHN-0000WZ-Vi for guix-patches@gnu.org; Wed, 11 Sep 2019 18:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i8BHN-0005wh-NY for guix-patches@gnu.org; Wed, 11 Sep 2019 18:40:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37383] [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1 References: In-Reply-To: Resent-From: Brian Leung Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 11 Sep 2019 22:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37383 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37383@debbugs.gnu.org, maxim.cournoyer@gmail.com Received: via spool by 37383-submit@debbugs.gnu.org id=B37383.156824159922841 (code B ref 37383); Wed, 11 Sep 2019 22:40:01 +0000 Received: (at 37383) by debbugs.gnu.org; 11 Sep 2019 22:39:59 +0000 Received: from localhost ([127.0.0.1]:42864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8BHJ-0005wJ-Qe for submit@debbugs.gnu.org; Wed, 11 Sep 2019 18:39:59 -0400 Received: from mail-qt1-f173.google.com ([209.85.160.173]:36699) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i8BHG-0005vx-LN for 37383@debbugs.gnu.org; Wed, 11 Sep 2019 18:39:55 -0400 Received: by mail-qt1-f173.google.com with SMTP id o12so27410950qtf.3 for <37383@debbugs.gnu.org>; Wed, 11 Sep 2019 15:39:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UChdocC8PZTod+59zjJPh7fsN1f4EJfLX1EmDx7i/38=; b=c98dSXWCqFe/FWbH3RM4At10VaftFAAv+M+8YD78NCyR6SETuw153Kw6IsCBZGgZsY Qf/v+Tuw81kgAT76v+VDSjIdwL5RryTUkgu4cMh2kHN0Ujd1F2/nJh6F+C9kWYZALGEP HcMHyC6RLfMgup3eo/lx5JBUkrZFoivZd4o2aotyLp44O5EI3QiH2l599krSf7fJ43ig HvYK56K5S/GAP1Lnct+XbYbeKtp7yZ9uB7dFOBnbggK8OXm+0cyveGs5L+FviASlrqcQ eBywAB4+4fjgOb5aUhtQI6N1Z+CXo2Vk+q+fVW3mb2PErU76E0LMOv35BGQqbYLJ0901 uVpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UChdocC8PZTod+59zjJPh7fsN1f4EJfLX1EmDx7i/38=; b=J/aaC4nqVHuYbN2/Tp8xwTVjYTHIZwxTRVgK03F1q1a5b3E/bDiby8UzDmuftEYymc wOmmjW4gC6HmRc3Uae/8RGGK5bYPi+UjFJMPdTAdj6B/+8VwirpozGtTQ58rrrP7X30W FB9Q3Lswh+7Qw9R0N4XBTOsCNlT/utCRNIcRET8gOianfDaoWZLIDthkq/hrNUFkmsir RGdkyOaqvO0k/N+NmeykA8TV+wKL5aTy3SmQlR2R8VZubDUbOmlUtOG+mBZ85xYqpyTA qfDgs9QiaCT0Mkz9uiY/WKI9VJXAOuGNdYkXTEb5fbNdzgeFVscoNeezoY4T78mJpx4B 7DCQ== X-Gm-Message-State: APjAAAWqz43z5hsAn0gIAA8aIXoSLXavvKeE/MGn7lEDW8Wq0N3XNxYu PImYhnbzvhsSiswCyWODcA1QKilVPHNO/4s82mlIDA== X-Google-Smtp-Source: APXvYqxbwYnvDNRQQdccb03euYsdm2HgTldCP55cGSdNY4wK0DZoJ+Gqf7/NsWPDaXq2QRYn7DGxQ/xhGDwli6oEYpk= X-Received: by 2002:a0c:e811:: with SMTP id y17mr13651393qvn.68.1568241588910; Wed, 11 Sep 2019 15:39:48 -0700 (PDT) MIME-Version: 1.0 From: Brian Leung Date: Thu, 12 Sep 2019 00:39:12 +0200 Message-ID: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hi Maxim, Thanks for updating python-jedi. Currently, only the latest commit of python-language server is compatible with jedi > 0.15, so I thought I'd make the appropriate changes to our version of python-language-server. Best, Brian From d0649cf203fa02b33842a54afd990745d9b1fb93 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Wed, 11 Sep 2019 19:15:22 +0200 Subject: [PATCH] gnu: python-language-server: Update to 0.28.3-1.c3cab77. * gnu/packages/python-xyz.scm (python-language-server): Update to 0.28.3-1.c3cab77. --- gnu/packages/python-xyz.scm | 62 ++++++++++++++++++++----------------- 1 file changed, 34 insertions(+), 28 deletions(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 819b3045a3..0be212fb4f 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -2984,38 +2984,44 @@ Language (TOML) configuration files.") Server (PLS).") (license license:expat))) +;; XXX: We must use a non-release version since the latest release version +;; requires python-jedi version < 0.15. (define-public python-language-server - (package - (name "python-language-server") - (version "0.28.1") - (source - (origin - (method url-fetch) - (uri (pypi-uri "python-language-server" version)) - (sha256 - (base32 - "1qbiij208l6g1l5hzihx8badhmqkxdk0spn7gm7564yg54zdp2g2")))) - (build-system python-build-system) - (propagated-inputs - `(("python-pluggy" ,python-pluggy) - ("python-jsonrpc-server" ,python-jsonrpc-server) - ("python-jedi" ,python-jedi) - ("python-yapf" ,python-yapf) - ("python-pyflakes" ,python-pyflakes) - ("python-pydocstyle" ,python-pydocstyle) - ("python-pycodestyle" ,python-pycodestyle) - ("python-mccabe" ,python-mccabe) - ("python-rope" ,python-rope) - ("python-autopep8" ,python-autopep8) - ("python-pylint" ,python-pylint))) - (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 + (let ((commit "c3cab77a85b1de4af1aec1bafea6a7320d6baec5") + (revision "1")) + (package + (name "python-language-server") + (version (git-version "0.28.3" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/palantir/python-language-server.git") + (commit commit))) + (sha256 + (base32 + "1q0xdwgln09sh58j0ryygj92hfgdhwcs57zjvqihya23jr5v0bz4")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pluggy" ,python-pluggy) + ("python-jsonrpc-server" ,python-jsonrpc-server) + ("python-jedi" ,python-jedi) + ("python-yapf" ,python-yapf) + ("python-pyflakes" ,python-pyflakes) + ("python-pydocstyle" ,python-pydocstyle) + ("python-pycodestyle" ,python-pycodestyle) + ("python-mccabe" ,python-mccabe) + ("python-rope" ,python-rope) + ("python-autopep8" ,python-autopep8) + ("python-pylint" ,python-pylint))) + (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.") - (license license:expat))) + (license license:expat)))) (define-public python-black (package -- 2.23.0