From: "Horea Christian" <horea.christ@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-python/numcodecs/
Date: Wed, 17 May 2023 18:28:45 +0000 (UTC) [thread overview]
Message-ID: <1684348102.933cf41235e6d6f253eb18ea76eb0115e7b1b72b.chymera@gentoo> (raw)
commit: 933cf41235e6d6f253eb18ea76eb0115e7b1b72b
Author: Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Wed May 17 18:28:22 2023 +0000
Commit: Horea Christian <horea.christ <AT> gmail <DOT> 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 <chr <AT> 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
+}
next reply other threads:[~2023-05-17 18:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-17 18:28 Horea Christian [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-02-09 18:22 [gentoo-commits] proj/sci:master commit in: dev-python/numcodecs/ Horea Christian
2024-02-08 20:52 Horea Christian
2024-02-07 22:04 Horea Christian
2023-05-15 16:04 Horea Christian
2023-05-15 16:01 Horea Christian
2023-05-02 22:34 Horea Christian
2023-05-02 22:32 Horea Christian
2022-07-12 17:15 Horea Christian
2022-03-27 2:25 Horea Christian
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1684348102.933cf41235e6d6f253eb18ea76eb0115e7b1b72b.chymera@gentoo \
--to=horea.christ@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox