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 988A315806E for ; Mon, 15 May 2023 21:32:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2C77E08C8; Mon, 15 May 2023 21:32:02 +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 BB2E0E08C8 for ; Mon, 15 May 2023 21:32:02 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D630C340DD1 for ; Mon, 15 May 2023 21:32:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AAC28B7 for ; Mon, 15 May 2023 21:32:00 +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: <1684186304.48af9c1392f58d79a196a26287bc4bb362317f18.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.11.0-tests.patch X-VCS-Directories: sci-libs/datasets/files/ X-VCS-Committer: tupone X-VCS-Committer-Name: Alfredo Tupone X-VCS-Revision: 48af9c1392f58d79a196a26287bc4bb362317f18 X-VCS-Branch: master Date: Mon, 15 May 2023 21:32:00 +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: d7d6b978-83c5-473c-8287-3080ad7ecf2a X-Archives-Hash: 5cc4cfcde406b0a4b5a6c4ed4c1ff3cd commit: 48af9c1392f58d79a196a26287bc4bb362317f18 Author: Alfredo Tupone gentoo org> AuthorDate: Mon May 15 21:30:47 2023 +0000 Commit: Alfredo Tupone gentoo org> CommitDate: Mon May 15 21:31:44 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48af9c13 sci-libs/datasets: ignore some tests not working on sandbox Signed-off-by: Alfredo Tupone gentoo.org> .../datasets/files/datasets-2.11.0-tests.patch | 82 ++++++++++++++++++++++ 1 file changed, 82 insertions(+) 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 0bbf200acbd0..0babe8b23d58 100644 --- a/sci-libs/datasets/files/datasets-2.11.0-tests.patch +++ b/sci-libs/datasets/files/datasets-2.11.0-tests.patch @@ -168,3 +168,85 @@ def test_task_automatic_speech_recognition(self): # Include a dummy extra column `dummy` to test we drop it correctly features_before_cast = Features( +--- a/tests/test_streaming_download_manager.py 2023-05-15 23:06:59.146379973 +0200 ++++ b/tests/test_streaming_download_manager.py 2023-05-15 23:11:32.441363757 +0200 +@@ -217,6 +217,7 @@ + assert output_path == _readd_double_slash_removed_by_path(Path(expected_path).as_posix()) + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, exists", + [ +@@ -299,6 +300,7 @@ + assert list(f) == TEST_URL_CONTENT.splitlines(keepends=True) + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, expected_paths", + [ +@@ -328,6 +330,7 @@ + xlistdir(root_url, use_auth_token=hf_token) + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, isdir", + [ +@@ -355,6 +358,7 @@ + xisdir(root_url, use_auth_token=hf_token) + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, isfile", + [ +@@ -378,6 +382,7 @@ + assert xisfile(root_url + "qwertyuiop", use_auth_token=hf_token) is False + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, size", + [ +@@ -402,6 +407,7 @@ + xgetsize(root_url + "qwertyuiop", use_auth_token=hf_token) + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, expected_paths", + [ +@@ -444,6 +450,7 @@ + assert len(xglob("zip://qwertyuiop/*::" + root_url, use_auth_token=hf_token)) == 0 + + ++@pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, expected_outputs", + [ +@@ -533,6 +540,7 @@ + def test_xpath_as_posix(self, input_path, expected_path): + assert xPath(input_path).as_posix() == expected_path + ++ @pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, exists", + [ +@@ -548,6 +556,7 @@ + (tmp_path / "file.txt").touch() + assert xexists(input_path) is exists + ++ @pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, pattern, expected_paths", + [ +@@ -586,6 +595,7 @@ + output_paths = sorted(xPath(input_path).glob(pattern)) + assert output_paths == expected_paths + ++ @pytest.mark.skip(reason="not working in sandbox") + @pytest.mark.parametrize( + "input_path, pattern, expected_paths", + [