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 B26FC158043 for ; Tue, 20 Feb 2024 12:23:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E332E2BC0DD; Tue, 20 Feb 2024 12:23:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 C13142BC0D6 for ; Tue, 20 Feb 2024 12:23:28 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CC3E13430A7 for ; Tue, 20 Feb 2024 12:23:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 10231E95 for ; Tue, 20 Feb 2024 12:23:26 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1708431799.315eab0f86abf1e7e7f492ce9a73fb6143bf9a50.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/pgcli/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/pgcli/pgcli-4.0.1-r1.ebuild dev-db/pgcli/pgcli-4.0.1.ebuild X-VCS-Directories: dev-db/pgcli/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 315eab0f86abf1e7e7f492ce9a73fb6143bf9a50 X-VCS-Branch: master Date: Tue, 20 Feb 2024 12:23:26 +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: 8f438da3-e338-40e2-8ddd-3744cc88cc83 X-Archives-Hash: 50b86f6404f723725a58ac2bb6f30f98 commit: 315eab0f86abf1e7e7f492ce9a73fb6143bf9a50 Author: Michał Górny gentoo org> AuthorDate: Tue Feb 20 12:19:01 2024 +0000 Commit: Michał Górny gentoo org> CommitDate: Tue Feb 20 12:23:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=315eab0f dev-db/pgcli: Deselect hanging tests Bug: https://bugs.gentoo.org/925085 Signed-off-by: Michał Górny gentoo.org> .../{pgcli-4.0.1.ebuild => pgcli-4.0.1-r1.ebuild} | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/dev-db/pgcli/pgcli-4.0.1.ebuild b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild similarity index 76% rename from dev-db/pgcli/pgcli-4.0.1.ebuild rename to dev-db/pgcli/pgcli-4.0.1-r1.ebuild index 111362fa7895..510cad08ad1e 100644 --- a/dev-db/pgcli/pgcli-4.0.1.ebuild +++ b/dev-db/pgcli/pgcli-4.0.1-r1.ebuild @@ -26,11 +26,25 @@ RDEPEND=" dev-python/pygments[${PYTHON_USEDEP}] dev-python/setproctitle[${PYTHON_USEDEP}] dev-python/sqlparse[${PYTHON_USEDEP}] - dev-python/sshtunnel[${PYTHON_USEDEP}]" + dev-python/sshtunnel[${PYTHON_USEDEP}] +" BDEPEND=" test? ( dev-db/postgresql dev-python/mock[${PYTHON_USEDEP}] - )" + ) +" distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # hang while trying to create a keyring + # https://bugs.gentoo.org/925085 + tests/test_main.py::test_pg_service_file + tests/test_ssh_tunnel.py::test_ssh_tunnel + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest +}