1 |
commit: 2950f52fbd4d3e6657af8e33d059484e91c51fc0 |
2 |
Author: WGH <wgh <AT> torlan <DOT> ru> |
3 |
AuthorDate: Mon Feb 24 18:45:54 2020 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 25 14:50:34 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2950f52f |
7 |
|
8 |
dev-python/python-language-server: fix dep versions |
9 |
|
10 |
Copy dependency version bounds from the upstream setup.py: |
11 |
https://github.com/palantir/python-language-server/blob/0.31.8/setup.py#L38 |
12 |
|
13 |
This fixes the problem when e.g. older jedi satisfies the ebuild |
14 |
dependency, but the package itself checks dependency specified it |
15 |
in its setup.py at runtime, refusing to work on mismatch (see #710684). |
16 |
If pyls silently accepted wrong package version it could've been worse, |
17 |
though. |
18 |
|
19 |
Closes: https://bugs.gentoo.org/710684 |
20 |
Signed-off-by: Maxim Plotnikov <wgh <AT> torlan.ru> |
21 |
Closes: https://github.com/gentoo/gentoo/pull/14761 |
22 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
23 |
|
24 |
.../python-language-server/python-language-server-0.31.8.ebuild | 8 +++++--- |
25 |
1 file changed, 5 insertions(+), 3 deletions(-) |
26 |
|
27 |
diff --git a/dev-python/python-language-server/python-language-server-0.31.8.ebuild b/dev-python/python-language-server/python-language-server-0.31.8.ebuild |
28 |
index 0ebc9ebc1a9..53b3086f0cd 100644 |
29 |
--- a/dev-python/python-language-server/python-language-server-0.31.8.ebuild |
30 |
+++ b/dev-python/python-language-server/python-language-server-0.31.8.ebuild |
31 |
@@ -19,10 +19,12 @@ KEYWORDS="~amd64 ~x86" |
32 |
|
33 |
BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]" |
34 |
|
35 |
-RDEPEND="dev-python/jedi[${PYTHON_USEDEP}] |
36 |
+RDEPEND=" |
37 |
+ >=dev-python/jedi-0.14.1[${PYTHON_USEDEP}] |
38 |
+ <dev-python/jedi-0.16.0[${PYTHON_USEDEP}] |
39 |
dev-python/pluggy[${PYTHON_USEDEP}] |
40 |
- dev-python/python-jsonrpc-server[${PYTHON_USEDEP}] |
41 |
- dev-python/ujson[${PYTHON_USEDEP}]" |
42 |
+ >=dev-python/python-jsonrpc-server-0.3.2[${PYTHON_USEDEP}] |
43 |
+ <=dev-python/ujson-1.35[${PYTHON_USEDEP}]" |
44 |
|
45 |
DEPEND="test? ( |
46 |
dev-python/autopep8[${PYTHON_USEDEP}] |