From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id C2D721580EB for ; Sat, 24 May 2025 06:11:47 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A833F3431B7 for ; Sat, 24 May 2025 06:11:47 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id DE5231104BE; Sat, 24 May 2025 06:11:14 +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 bobolink.gentoo.org (Postfix) with ESMTPS id D24891104BE for ; Sat, 24 May 2025 06:11:14 +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 8D5F9340C9C for ; Sat, 24 May 2025 06:11:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A275F20FB for ; Sat, 24 May 2025 06:11:11 +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: <1748067065.06b4786d43ab3e9dc6be6eedb5fe32131b90d60b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/scikit-build/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/scikit-build/scikit-build-0.18.1.ebuild X-VCS-Directories: dev-python/scikit-build/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 06b4786d43ab3e9dc6be6eedb5fe32131b90d60b X-VCS-Branch: master Date: Sat, 24 May 2025 06:11:11 +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: 65afebf7-da4e-485a-8ea9-4294cb184865 X-Archives-Hash: c4c0978c93ffc32478d4fef7ea4244ad commit: 06b4786d43ab3e9dc6be6eedb5fe32131b90d60b Author: Michał Górny gentoo org> AuthorDate: Sat May 24 06:00:05 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat May 24 06:11:05 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06b4786d dev-python/scikit-build: Fix post-test cleanup Signed-off-by: Michał Górny gentoo.org> dev-python/scikit-build/scikit-build-0.18.1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-python/scikit-build/scikit-build-0.18.1.ebuild b/dev-python/scikit-build/scikit-build-0.18.1.ebuild index 1d6982e04366..78907c3c3d29 100644 --- a/dev-python/scikit-build/scikit-build-0.18.1.ebuild +++ b/dev-python/scikit-build/scikit-build-0.18.1.ebuild @@ -56,6 +56,7 @@ src_prepare() { } python_test() { + local EPYTEST_DESELECT=( # Internet (via new setuptools?) tests/test_hello_cpp.py::test_hello_develop @@ -70,9 +71,12 @@ python_test() { ;; esac + # create a separate test tree since skbuild tests install random stuff + cp -r "${BUILD_DIR}"/{install,test} || die + local -x PATH=${BUILD_DIR}/test${EPREFIX}/usr/bin:${PATH} + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 epytest -p pytest_mock \ -m "not isolated and not nosetuptoolsscm" \ -o tmp_path_retention_count=1 - rm -r "${BUILD_DIR}/install$(python_get_sitedir)"/{easy-install.pth,*.egg,*.egg-link} || die }