summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-05-16 07:20:21 +0200
committerAlfredo Tupone <tupone@gentoo.org>2023-05-16 07:21:31 +0200
commitda6e3eae5a4bc7472c759444ecbd9ed79cbfa4a2 (patch)
tree7aea6a83b8ddf58840d1678f41ab928ba916d147 /sci-libs/datasets
parentdev-python/ensurepip-pip: Remove old (diff)
downloadgentoo-da6e3eae5a4bc7472c759444ecbd9ed79cbfa4a2.tar.gz
gentoo-da6e3eae5a4bc7472c759444ecbd9ed79cbfa4a2.tar.bz2
gentoo-da6e3eae5a4bc7472c759444ecbd9ed79cbfa4a2.zip
sci-libs/datasets: use seqeval for test
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'sci-libs/datasets')
-rw-r--r--sci-libs/datasets/datasets-2.11.0-r2.ebuild (renamed from sci-libs/datasets/datasets-2.11.0-r1.ebuild)1
-rw-r--r--sci-libs/datasets/files/datasets-2.11.0-tests.patch10
2 files changed, 1 insertions, 10 deletions
diff --git a/sci-libs/datasets/datasets-2.11.0-r1.ebuild b/sci-libs/datasets/datasets-2.11.0-r2.ebuild
index 977bf0d698b9..a2f4ad26e65b 100644
--- a/sci-libs/datasets/datasets-2.11.0-r1.ebuild
+++ b/sci-libs/datasets/datasets-2.11.0-r2.ebuild
@@ -43,6 +43,7 @@ BDEPEND="test? (
dev-python/pytest-datadir[${PYTHON_USEDEP}]
dev-python/decorator[${PYTHON_USEDEP}]
sci-libs/jiwer[${PYTHON_USEDEP}]
+ sci-libs/seqeval[${PYTHON_USEDEP}]
')
)"
diff --git a/sci-libs/datasets/files/datasets-2.11.0-tests.patch b/sci-libs/datasets/files/datasets-2.11.0-tests.patch
index 0babe8b23d58..e105c01bc63b 100644
--- a/sci-libs/datasets/files/datasets-2.11.0-tests.patch
+++ b/sci-libs/datasets/files/datasets-2.11.0-tests.patch
@@ -123,16 +123,6 @@
def test_dataset_with_audio_feature_map_undecoded(shared_datadir):
audio_path = str(shared_datadir / "test_audio_44100.wav")
data = {"audio": [audio_path]}
---- a/tests/test_metric_common.py 2023-05-06 13:20:24.496197629 +0200
-+++ b/tests/test_metric_common.py 2023-05-06 13:21:09.916732417 +0200
-@@ -210,6 +210,7 @@
- yield
-
-
-+@pytest.mark.skip(reason="require seqeval")
- def test_seqeval_raises_when_incorrect_scheme():
- metric = load_metric(os.path.join("metrics", "seqeval"))
- wrong_scheme = "ERROR"
--- a/tests/packaged_modules/test_audiofolder.py 2023-05-06 14:00:39.560876163 +0200
+++ b/tests/packaged_modules/test_audiofolder.py 2023-05-06 14:01:26.005212423 +0200
@@ -1,10 +1,8 @@