* [bug#37383] [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1
@ 2019-09-11 18:00 Brian Leung
2019-09-11 22:39 ` Brian Leung
0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-09-11 18:00 UTC (permalink / raw)
To: 37383
[-- Attachment #1.1: Type: text/plain, Size: 14 bytes --]
See attached.
[-- Attachment #1.2: Type: text/html, Size: 35 bytes --]
[-- Attachment #2: 0001-gnu-python-language-server-Update-to-0.28.3-1.c3cab7.patch --]
[-- Type: text/x-patch, Size: 3598 bytes --]
From d0649cf203fa02b33842a54afd990745d9b1fb93 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#37383] [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1
2019-09-11 18:00 [bug#37383] [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1 Brian Leung
@ 2019-09-11 22:39 ` Brian Leung
2019-09-12 0:49 ` bug#37383: " Maxim Cournoyer
0 siblings, 1 reply; 3+ messages in thread
From: Brian Leung @ 2019-09-11 22:39 UTC (permalink / raw)
To: 37383, maxim.cournoyer
[-- Attachment #1.1: Type: text/plain, Size: 237 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 324 bytes --]
[-- Attachment #2: 0001-gnu-python-language-server-Update-to-0.28.3-1.c3cab7.patch --]
[-- Type: text/x-patch, Size: 3598 bytes --]
From d0649cf203fa02b33842a54afd990745d9b1fb93 Mon Sep 17 00:00:00 2001
From: Brian Leung <bkleung89@gmail.com>
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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* bug#37383: [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1
2019-09-11 22:39 ` Brian Leung
@ 2019-09-12 0:49 ` Maxim Cournoyer
0 siblings, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2019-09-12 0:49 UTC (permalink / raw)
To: Brian Leung; +Cc: 37383-done
Hello Brian,
Brian Leung <bkleung89@gmail.com> writes:
> 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.
Eh, thanks for the quick heads-up, and sorry for the breakage!
I just pushed your fix to master, after reviewing this was indeed the
appropriate course of action.
Thanks again,
Maxim
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-12 0:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-11 18:00 [bug#37383] [PATCH] Update python-language-server - current version not compat with python-jedi 0.15.1 Brian Leung
2019-09-11 22:39 ` Brian Leung
2019-09-12 0:49 ` bug#37383: " Maxim Cournoyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.