dev-python/python-language-server: fix dep versions

Copy dependency version bounds from the upstream setup.py:
https://github.com/palantir/python-language-server/blob/0.31.8/setup.py#L38

This fixes the problem when e.g. older jedi satisfies the ebuild
dependency, but the package itself checks dependency specified it
in its setup.py at runtime, refusing to work on mismatch (see #710684).
If pyls silently accepted wrong package version it could've been worse,
though.

Closes: https://bugs.gentoo.org/710684
Signed-off-by: Maxim Plotnikov <wgh@torlan.ru>
Closes: https://github.com/gentoo/gentoo/pull/14761
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
WGH
2020-02-24 21:45:54 +03:00
committed by Joonas Niilola
parent 90a5b0f015
commit 2950f52fbd

View File

@@ -19,10 +19,12 @@ KEYWORDS="~amd64 ~x86"
BDEPEND="dev-python/versioneer[${PYTHON_USEDEP}]"
RDEPEND="dev-python/jedi[${PYTHON_USEDEP}]
RDEPEND="
>=dev-python/jedi-0.14.1[${PYTHON_USEDEP}]
<dev-python/jedi-0.16.0[${PYTHON_USEDEP}]
dev-python/pluggy[${PYTHON_USEDEP}]
dev-python/python-jsonrpc-server[${PYTHON_USEDEP}]
dev-python/ujson[${PYTHON_USEDEP}]"
>=dev-python/python-jsonrpc-server-0.3.2[${PYTHON_USEDEP}]
<=dev-python/ujson-1.35[${PYTHON_USEDEP}]"
DEPEND="test? (
dev-python/autopep8[${PYTHON_USEDEP}]