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 C7C0F15806E for ; Wed, 17 May 2023 18:28:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 135F7E07FA; Wed, 17 May 2023 18:28:48 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F209AE07FA for ; Wed, 17 May 2023 18:28:47 +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 40A32335DA8 for ; Wed, 17 May 2023 18:28:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D0BAB990 for ; Wed, 17 May 2023 18:28:45 +0000 (UTC) From: "Horea Christian" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Horea Christian" Message-ID: <1684348102.933cf41235e6d6f253eb18ea76eb0115e7b1b72b.chymera@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: dev-python/numcodecs/ X-VCS-Repository: proj/sci X-VCS-Files: dev-python/numcodecs/numcodecs-0.11.0.ebuild X-VCS-Directories: dev-python/numcodecs/ X-VCS-Committer: chymera X-VCS-Committer-Name: Horea Christian X-VCS-Revision: 933cf41235e6d6f253eb18ea76eb0115e7b1b72b X-VCS-Branch: master Date: Wed, 17 May 2023 18:28:45 +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: be79d5e8-afcf-41b8-b9de-1d7b3038ac9b X-Archives-Hash: e97c224fe354ccbe2776a1b85ece1c8d commit: 933cf41235e6d6f253eb18ea76eb0115e7b1b72b Author: Horea Christian chymera eu> AuthorDate: Wed May 17 18:28:22 2023 +0000 Commit: Horea Christian gmail com> CommitDate: Wed May 17 18:28:22 2023 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=933cf412 dev-python/numcodecs: fixed test detection issue Signed-off-by: Horea Christian chymera.eu> dev-python/numcodecs/numcodecs-0.11.0.ebuild | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/dev-python/numcodecs/numcodecs-0.11.0.ebuild b/dev-python/numcodecs/numcodecs-0.11.0.ebuild index 53c46ebe9..500a52b89 100644 --- a/dev-python/numcodecs/numcodecs-0.11.0.ebuild +++ b/dev-python/numcodecs/numcodecs-0.11.0.ebuild @@ -14,10 +14,6 @@ LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="test" -# Fails to collect tests for yet unknown reasons: -# https://github.com/zarr-developers/numcodecs/issues/304 -# --pyargs numcodecs fix proposed in thread doesn't seem to take effect. -RESTRICT="test" RDEPEND=" dev-python/cython[${PYTHON_USEDEP}] @@ -38,4 +34,16 @@ PATCHES=( "${FILESDIR}/${P}-nocov.patch" ) +# Reported upstream: +# https://github.com/zarr-developers/numcodecs/issues/436 +EPYTEST_DESELECT=( + tests/test_json.py::test_non_numpy_inputs + tests/test_msgpacks.py::test_non_numpy_inputs +) + distutils_enable_tests pytest + +python_test() { + cd "${T}" || die + epytest --pyargs numcodecs +}