Skip to content

Commit

Permalink
common/build-style/python3-pep517.sh: extract wheels in hidden dirs
Browse files Browse the repository at this point in the history
This prevents pytest from collecting tests multiple times when
they are bundled in the wheel itself alongside the source tree.

Closes: void-linux#43946 [via git-merge-pr]
  • Loading branch information
icp1994 authored and sirkhancision committed Jun 10, 2023
1 parent fa8c12d commit 221e916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/build-style/python3-pep517.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

Expand Down

0 comments on commit 221e916

Please sign in to comment.