From 221e91614163662ec56d4609c06aec2ba1ad2b96 Mon Sep 17 00:00:00 2001 From: icp Date: Fri, 26 May 2023 00:43:08 +0530 Subject: [PATCH] common/build-style/python3-pep517.sh: extract wheels in hidden dirs This prevents pytest from collecting tests multiple times when they are bundled in the wheel itself alongside the source tree. Closes: #43946 [via git-merge-pr] --- common/build-style/python3-pep517.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/build-style/python3-pep517.sh b/common/build-style/python3-pep517.sh index ffe52fccf3dbab..2d5ff7caf34ebd 100644 --- a/common/build-style/python3-pep517.sh +++ b/common/build-style/python3-pep517.sh @@ -19,7 +19,7 @@ do_check() { testjobs="-n $XBPS_MAKEJOBS" fi - local testdir="${wrksrc}/tmp/$(date +%s)" + local testdir="${wrksrc}/.xbps-testdir/$(date +%s)" python3 -m installer --destdir "${testdir}" \ ${make_install_args} ${make_install_target:-dist/*.whl}