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 7835A15806C for ; Sat, 12 Jul 2025 10:28:10 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 4DE32342029 for ; Sat, 12 Jul 2025 10:28:10 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 2D68611055B; Sat, 12 Jul 2025 10:28:07 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 24F8A11055B for ; Sat, 12 Jul 2025 10:28:07 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CF3B434200F for ; Sat, 12 Jul 2025 10:28:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 75E582F38 for ; Sat, 12 Jul 2025 10:28:05 +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: <1752316081.42d3a4db8d298a608dc8678ff17be5ddfc37655c.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pikepdf/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pikepdf/pikepdf-9.9.0.ebuild X-VCS-Directories: dev-python/pikepdf/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 42d3a4db8d298a608dc8678ff17be5ddfc37655c X-VCS-Branch: master Date: Sat, 12 Jul 2025 10:28:05 +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: 01ad31c3-d6af-4adb-be7a-09781df87671 X-Archives-Hash: b2f785f12945c5e99bdee85dc08a9626 commit: 42d3a4db8d298a608dc8678ff17be5ddfc37655c Author: Michał Górny gentoo org> AuthorDate: Sat Jul 12 10:22:23 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jul 12 10:28:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42d3a4db dev-python/pikepdf: Fix tests Override TMPDIR to work around a weird behavior in mutool that messes up tests when TMPDIR contains dots. Signed-off-by: Michał Górny gentoo.org> dev-python/pikepdf/pikepdf-9.9.0.ebuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dev-python/pikepdf/pikepdf-9.9.0.ebuild b/dev-python/pikepdf/pikepdf-9.9.0.ebuild index c8196288194a..b4e6671c930b 100644 --- a/dev-python/pikepdf/pikepdf-9.9.0.ebuild +++ b/dev-python/pikepdf/pikepdf-9.9.0.ebuild @@ -38,11 +38,9 @@ BDEPEND=" >=dev-python/setuptools-scm-7.0.5[${PYTHON_USEDEP}] test? ( >=dev-python/attrs-20.2.0[${PYTHON_USEDEP}] - >=dev-python/hypothesis-6.36[${PYTHON_USEDEP}] >=dev-python/numpy-1.21.0[${PYTHON_USEDEP}] >=dev-python/pillow-5.0.0[${PYTHON_USEDEP},jpeg,lcms,tiff] >=dev-python/psutil-5.9[${PYTHON_USEDEP}] - >=dev-python/pytest-timeout-2.1.0[${PYTHON_USEDEP}] >=dev-python/python-dateutil-2.8.1[${PYTHON_USEDEP}] !big-endian? ( >=dev-python/python-xmp-toolkit-2.0.1[${PYTHON_USEDEP}] @@ -51,6 +49,7 @@ BDEPEND=" ) " +EPYTEST_PLUGINS=( hypothesis pytest-timeout ) distutils_enable_tests pytest src_prepare() { @@ -60,6 +59,8 @@ src_prepare() { } python_test() { + # work around https://github.com/pikepdf/pikepdf/issues/660 + local -x TMPDIR=/tmp local EPYTEST_DESELECT=( # fragile to system load tests/test_image_access.py::test_random_image @@ -67,6 +68,5 @@ python_test() { tests/test_image_access.py::test_palette_nonrgb ) - local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 - epytest -p timeout + epytest }