From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6F331138350 for ; Tue, 25 Feb 2020 14:51:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9C08EE088C; Tue, 25 Feb 2020 14:51:20 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 86104E088C for ; Tue, 25 Feb 2020 14:51:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AA2C834F2CF for ; Tue, 25 Feb 2020 14:51:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B8F335 for ; Tue, 25 Feb 2020 14:51:17 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1582642234.2950f52fbd4d3e6657af8e33d059484e91c51fc0.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/python-language-server/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/python-language-server/python-language-server-0.31.8.ebuild X-VCS-Directories: dev-python/python-language-server/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 2950f52fbd4d3e6657af8e33d059484e91c51fc0 X-VCS-Branch: master Date: Tue, 25 Feb 2020 14:51:17 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 882b0747-ce01-4f49-9902-0345a99e88fd X-Archives-Hash: 3a008343b892458a29e8ce593af58b63 commit: 2950f52fbd4d3e6657af8e33d059484e91c51fc0 Author: WGH torlan ru> AuthorDate: Mon Feb 24 18:45:54 2020 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Tue Feb 25 14:50:34 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2950f52f 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 torlan.ru> Closes: https://github.com/gentoo/gentoo/pull/14761 Signed-off-by: Joonas Niilola gentoo.org> .../python-language-server/python-language-server-0.31.8.ebuild | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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 index 0ebc9ebc1a9..53b3086f0cd 100644 --- 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 @@ -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/python-jsonrpc-server-0.3.2[${PYTHON_USEDEP}] + <=dev-python/ujson-1.35[${PYTHON_USEDEP}]" DEPEND="test? ( dev-python/autopep8[${PYTHON_USEDEP}]