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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9FC3158087 for ; Fri, 26 Nov 2021 13:41:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 86E9D2BC018; Fri, 26 Nov 2021 13:41:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 70845E083E for ; Fri, 26 Nov 2021 13:41:01 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 291BE343021 for ; Fri, 26 Nov 2021 13:41:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A54B1DC for ; Fri, 26 Nov 2021 13:40:58 +0000 (UTC) From: "Marek Szuba" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marek Szuba" Message-ID: <1637934043.3e1f8ab1d09c1cde17c3b3d6035808aeb9088e8a.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/ansible-lint/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/ansible-lint/ansible-lint-5.2.1.ebuild X-VCS-Directories: app-admin/ansible-lint/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: 3e1f8ab1d09c1cde17c3b3d6035808aeb9088e8a X-VCS-Branch: master Date: Fri, 26 Nov 2021 13:40:58 +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: 3efea63f-6ec1-488b-a126-23feef4eb480 X-Archives-Hash: 059b9844be82b2bb00e3eb784b8538eb commit: 3e1f8ab1d09c1cde17c3b3d6035808aeb9088e8a Author: Marek Szuba gentoo org> AuthorDate: Fri Nov 26 12:21:07 2021 +0000 Commit: Marek Szuba gentoo org> CommitDate: Fri Nov 26 13:40:43 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e1f8ab1 app-admin/ansible-lint: tweak test configuration dev-util/yamllint is now in the tree so we can use it, and one of the tests requires distutils_install_for_testing. Unfortunately even leaving aside the 14 tests which are currently broken by FEATURES=usersandbox, the test suite simply does not succeed at the moment - even when run manually with tox. Therefore, keep RESTRICT=test in place. Signed-off-by: Marek Szuba gentoo.org> app-admin/ansible-lint/ansible-lint-5.2.1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild index 23d0affbc127..13812ba2d3a3 100644 --- a/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild +++ b/app-admin/ansible-lint/ansible-lint-5.2.1.ebuild @@ -15,7 +15,9 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~riscv" -# Many tests require still-unpackaged yamlllint +# 14 tests fail due to usersandbox denying the executable 'ansible' +# access to $HOME/.ansible. More importantly, some tests (6 as of 5.2.1) +# fail even when run manually with tox. RESTRICT="test" RDEPEND=" @@ -34,6 +36,7 @@ BDEPEND=" test? ( >=dev-python/flaky-3.7.0[${PYTHON_USEDEP}] >=dev-python/pytest-xdist-2.1.0[${PYTHON_USEDEP}] + >=dev-util/yamllint-1.25.0[${PYTHON_USEDEP}] )" -distutils_enable_tests pytest +distutils_enable_tests --install pytest