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 E0442158041 for ; Wed, 21 Feb 2024 07:24:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20B0DE29C3; Wed, 21 Feb 2024 07:24:26 +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 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 044DBE29C3 for ; Wed, 21 Feb 2024 07:24:26 +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 09CEE33D3CF for ; Wed, 21 Feb 2024 07:24:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6E2EA14B7 for ; Wed, 21 Feb 2024 07:24:23 +0000 (UTC) From: "Alfredo Tupone" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alfredo Tupone" Message-ID: <1708500235.7f972518eb4e40bc7f8bc670bb45015d371a9166.tupone@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/datasets/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-libs/datasets/files/datasets-2.15.0-tests.patch X-VCS-Directories: sci-libs/datasets/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 7f972518eb4e40bc7f8bc670bb45015d371a9166 X-VCS-Branch: master Date: Wed, 21 Feb 2024 07:24:23 +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: 7bbbca7b-cf32-4fa2-9dd0-f48a43cb9ae6 X-Archives-Hash: 41d2136cf3426b3b342869529f064904 commit: 7f972518eb4e40bc7f8bc670bb45015d371a9166 Author: Alfredo Tupone gentoo org> AuthorDate: Wed Feb 21 07:23:55 2024 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Wed Feb 21 07:23:55 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f972518 sci-libs/datasets: missing a patch Signed-off-by: Alfredo Tupone gentoo.org> .../datasets/files/datasets-2.15.0-tests.patch | 46 ++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/sci-libs/datasets/files/datasets-2.15.0-tests.patch b/sci-libs/datasets/files/datasets-2.15.0-tests.patch new file mode 100644 index 000000000000..64d8dcfdc8d8 --- /dev/null +++ b/sci-libs/datasets/files/datasets-2.15.0-tests.patch @@ -0,0 +1,46 @@ +--- a/tests/test_arrow_dataset.py 2024-02-20 21:53:24.248470991 +0100 ++++ b/tests/test_arrow_dataset.py 2024-02-20 21:53:29.441804737 +0100 +@@ -3978,7 +3978,6 @@ + [ + "relative/path", + "/absolute/path", +- "s3://bucket/relative/path", + "hdfs://relative/path", + "hdfs:///absolute/path", + ], +--- a/tests/test_hf_gcp.py 2024-02-20 21:55:18.821852434 +0100 ++++ b/tests/test_hf_gcp.py 2024-02-20 21:55:46.525186394 +0100 +@@ -22,7 +22,6 @@ + {"dataset": "wikipedia", "config_name": "20220301.it"}, + {"dataset": "wikipedia", "config_name": "20220301.simple"}, + {"dataset": "snli", "config_name": "plain_text"}, +- {"dataset": "eli5", "config_name": "LFQA_reddit"}, + {"dataset": "wiki40b", "config_name": "en"}, + {"dataset": "wiki_dpr", "config_name": "psgs_w100.nq.compressed"}, + {"dataset": "wiki_dpr", "config_name": "psgs_w100.nq.no_index"}, +--- a/tests/test_inspect.py 2024-02-20 22:01:35.148488467 +0100 ++++ b/tests/test_inspect.py 2024-02-20 22:02:14.458561571 +0100 +@@ -15,7 +15,7 @@ + pytestmark = pytest.mark.integration + + +-@pytest.mark.parametrize("path", ["paws", "csv"]) ++@pytest.mark.parametrize("path", ["csv"]) + def test_inspect_dataset(path, tmp_path): + inspect_dataset(path, tmp_path) + script_name = path + ".py" +--- a/tests/test_load.py 2024-02-20 22:12:13.699209107 +0100 ++++ b/tests/test_load.py 2024-02-20 22:13:10.862626708 +0100 +@@ -1235,12 +1235,6 @@ + + + @pytest.mark.integration +-def test_load_streaming_private_dataset_with_zipped_data(hf_token, hf_private_dataset_repo_zipped_txt_data): +- ds = load_dataset(hf_private_dataset_repo_zipped_txt_data, streaming=True, token=hf_token) +- assert next(iter(ds)) is not None +- +- +-@pytest.mark.integration + def test_load_dataset_config_kwargs_passed_as_arguments(): + ds_default = load_dataset(SAMPLE_DATASET_IDENTIFIER4) + ds_custom = load_dataset(SAMPLE_DATASET_IDENTIFIER4, drop_metadata=True)