commit:     808cf0e78f1a3ceff18ca99a95d0fad0daf901f3
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  6 07:23:31 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Mar  6 07:24:00 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=808cf0e7

sci-libs/datasets: drop test requiring network

Closes: https://bugs.gentoo.org/942778
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/datasets/datasets-2.21.0.ebuild | 59 ++++++++++++++++----------------
 1 file changed, 30 insertions(+), 29 deletions(-)

diff --git a/sci-libs/datasets/datasets-2.21.0.ebuild 
b/sci-libs/datasets/datasets-2.21.0.ebuild
index 7dac47f07a8e..79208052288c 100644
--- a/sci-libs/datasets/datasets-2.21.0.ebuild
+++ b/sci-libs/datasets/datasets-2.21.0.ebuild
@@ -76,25 +76,49 @@ src_test() {
        )
 
        local EPYTEST_DESELECT=(
+               
"tests/features/test_audio.py::test_dataset_with_audio_feature_map_undecoded"
+               
"tests/features/test_audio.py::test_dataset_with_audio_feature_undecoded"
+               
"tests/features/test_audio.py::test_formatted_dataset_with_audio_feature_undecoded"
+               "tests/io/test_parquet.py::test_parquet_read_geoparquet"
+               "tests/packaged_modules/test_cache.py::test_cache_multi_configs"
+               "tests/packaged_modules/test_cache.py::test_cache_single_config"
                
"tests/test_arrow_dataset.py::BaseDatasetTest::test_filter_caching_on_disk"
                
"tests/test_arrow_dataset.py::BaseDatasetTest::test_map_caching_on_disk"
                
"tests/test_arrow_dataset.py::TaskTemplatesTest::test_task_automatic_speech_recognition"
+               
"tests/test_data_files.py::test_DataFilesDict_from_patterns_locally_or_remote_hashing"
+               
"tests/test_data_files.py::test_DataFilesList_from_patterns_locally_with_extra_files"
                "tests/test_distributed.py::test_torch_distributed_run"
                "tests/test_exceptions.py::test_error_deprecated"
-               "tests/test_file_utils.py::TestxPath::test_xpath_glob"
                "tests/test_file_utils.py::TestxPath::test_xpath_rglob"
-               "tests/test_fingerprint.py::TokenizersHashTest::test_hash_regex"
-               
"tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer"
-               
"tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer_with_cache"
-               
"tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function"
-               
"tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function"
+               "tests/test_file_utils.py::TestxPath::test_xpath_glob"
                
"tests/test_fingerprint.py::HashingTest::test_hash_torch_compiled_module"
                
"tests/test_fingerprint.py::HashingTest::test_hash_torch_generator"
                "tests/test_fingerprint.py::HashingTest::test_hash_torch_tensor"
                
"tests/test_fingerprint.py::HashingTest::test_set_doesnt_depend_on_order"
                "tests/test_fingerprint.py::HashingTest::test_set_stable"
+               
"tests/test_fingerprint.py::RecurseHashTest::test_hash_ignores_line_definition_of_function"
+               
"tests/test_fingerprint.py::RecurseHashTest::test_hash_ipython_function"
                "tests/test_fingerprint.py::test_move_script_doesnt_change_hash"
+               "tests/test_fingerprint.py::TokenizersHashTest::test_hash_regex"
+               
"tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer"
+               
"tests/test_fingerprint.py::TokenizersHashTest::test_hash_tokenizer_with_cache"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_natural_questions/default@19ba7767b174ad046a84f46af056517a3910ee57"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki40b/en@7b21a2e64b90323b2d3d1b81aa349bb4bc76d9bf"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.multiset.no_index@b24a417d802a583f8922946c1c75210290e93108"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.compressed@b24a417d802a583f8922946c1c75210290e93108"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.no_index@b24a417d802a583f8922946c1c75210290e93108"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.de@4d013bdd32c475c8536aae00a56efc774f061649"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.en@4d013bdd32c475c8536aae00a56efc774f061649"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.fr@4d013bdd32c475c8536aae00a56efc774f061649"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.frr@4d013bdd32c475c8536aae00a56efc774f061649"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.it@4d013bdd32c475c8536aae00a56efc774f061649"
+               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.simple@4d013bdd32c475c8536aae00a56efc774f061649"
+               "tests/test_hf_gcp.py::test_as_dataset_from_hf_gcs"
+               "tests/test_hf_gcp.py::test_as_streaming_dataset_from_hf_gcs"
+               "tests/test_hub.py::test_convert_to_parquet"
+               "tests/test_hub.py::test_delete_from_hub"
                
"tests/test_iterable_dataset.py::test_iterable_dataset_from_file"
+               
"tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel"
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_bertscore"
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_bleurt"
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_chrf"
@@ -122,30 +146,7 @@ src_test() {
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_wiki_split"
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_xnli"
                
"tests/test_metric_common.py::LocalMetricTest::test_load_metric_xtreme_s"
-               
"tests/features/test_audio.py::test_dataset_with_audio_feature_undecoded"
-               
"tests/features/test_audio.py::test_formatted_dataset_with_audio_feature_undecoded"
-               
"tests/features/test_audio.py::test_dataset_with_audio_feature_map_undecoded"
-               "tests/packaged_modules/test_cache.py::test_cache_multi_configs"
-               "tests/packaged_modules/test_cache.py::test_cache_single_config"
-               
"tests/test_data_files.py::test_DataFilesList_from_patterns_locally_with_extra_files"
-               
"tests/test_data_files.py::test_DataFilesDict_from_patterns_locally_or_remote_hashing"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_natural_questions/default@19ba7767b174ad046a84f46af056517a3910ee57"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki40b/en@7b21a2e64b90323b2d3d1b81aa349bb4bc76d9bf"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.multiset.no_index@b24a417d802a583f8922946c1c75210290e93108"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.compressed@b24a417d802a583f8922946c1c75210290e93108"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wiki_dpr/psgs_w100.nq.no_index@b24a417d802a583f8922946c1c75210290e93108"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.de@4d013bdd32c475c8536aae00a56efc774f061649"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.en@4d013bdd32c475c8536aae00a56efc774f061649"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.fr@4d013bdd32c475c8536aae00a56efc774f061649"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.frr@4d013bdd32c475c8536aae00a56efc774f061649"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.it@4d013bdd32c475c8536aae00a56efc774f061649"
-               
"tests/test_hf_gcp.py::TestDatasetOnHfGcp::test_dataset_info_available_wikipedia/20220301.simple@4d013bdd32c475c8536aae00a56efc774f061649"
-               "tests/test_hf_gcp.py::test_as_dataset_from_hf_gcs"
-               "tests/test_hf_gcp.py::test_as_streaming_dataset_from_hf_gcs"
-               "tests/test_hub.py::test_convert_to_parquet"
-               
"tests/test_iterable_dataset.py::test_iterable_dataset_from_hub_torch_dataloader_parallel"
                "tests/test_offline_util.py::test_offline_with_timeout"
-               "tests/io/test_parquet.py::test_parquet_read_geoparquet"
        )
        distutils-r1_src_test
 }

Reply via email to