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 37B8D158087 for ; Tue, 11 Jan 2022 18:38:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 376F62BC03C; Tue, 11 Jan 2022 18:38:32 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 224B12BC03C for ; Tue, 11 Jan 2022 18:38:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 37C0B3430A8 for ; Tue, 11 Jan 2022 18:38:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 69068295 for ; Tue, 11 Jan 2022 18:38:28 +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: <1641926299.e278132bbcd5b443c696ba46e96cb17aab10fd04.marecki@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pytest-testinfra/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild X-VCS-Directories: dev-python/pytest-testinfra/ X-VCS-Committer: marecki X-VCS-Committer-Name: Marek Szuba X-VCS-Revision: e278132bbcd5b443c696ba46e96cb17aab10fd04 X-VCS-Branch: master Date: Tue, 11 Jan 2022 18:38:28 +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: 41f1b967-b090-464d-9762-f55adaef2bfb X-Archives-Hash: ee041b49b606dba886af428f03e79bf2 commit: e278132bbcd5b443c696ba46e96cb17aab10fd04 Author: Marek Szuba gentoo org> AuthorDate: Tue Jan 11 16:58:19 2022 +0000 Commit: Marek Szuba gentoo org> CommitDate: Tue Jan 11 18:38:19 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e278132b dev-python/pytest-testinfra: enable py3.10 Enough waiting for app-admin/salt. Signed-off-by: Marek Szuba gentoo.org> .../pytest-testinfra/pytest-testinfra-6.5.0.ebuild | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild index c336646d0373..a10a5d492b91 100644 --- a/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild +++ b/dev-python/pytest-testinfra/pytest-testinfra-6.5.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{8..9} ) +PYTHON_COMPAT=( python3_{8..10} ) inherit distutils-r1 @@ -20,13 +20,25 @@ RDEPEND="dev-python/pytest[${PYTHON_USEDEP}]" BDEPEND="dev-python/setuptools_scm[${PYTHON_USEDEP}] test? ( app-admin/ansible - app-admin/salt[${PYTHON_USEDEP}] dev-python/paramiko[${PYTHON_USEDEP}] dev-python/pywinrm[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + app-admin/salt[${PYTHON_USEDEP}] + ' python3_{8..9} ) )" distutils_enable_tests pytest +python_test() { + if [[ ${EPYTHON} == "python3.10" ]]; then + ewarn "Some of the tests are skipped on ${EPYTHON} because it still isn't supported by app-admin/salt" + local EPYTEST_DESELECT=( + test/test_backends.py::test_backend_importables + ) + fi + epytest +} + pkg_postinst() { elog "For the list of available connection back-ends and their dependencies," elog "please consult https://testinfra.readthedocs.io/en/latest/backends.html"