commit:     b8c2133aaf466dc25273ec4eaa89faee6b314586
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 17 21:08:08 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Feb 17 21:08:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8c2133a

sci-libs/transformers: fix deselected test

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-libs/transformers/transformers-4.47.1.ebuild | 45 +++++++++++-------------
 1 file changed, 21 insertions(+), 24 deletions(-)

diff --git a/sci-libs/transformers/transformers-4.47.1.ebuild 
b/sci-libs/transformers/transformers-4.47.1.ebuild
index 5b1a6630127d..262bf065885b 100644
--- a/sci-libs/transformers/transformers-4.47.1.ebuild
+++ b/sci-libs/transformers/transformers-4.47.1.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
-RESTRICT="test" # Need some modules, not yet packaged
+RESTRICT="test" # Need some modules, not yet packaged, need network
 
 RDEPEND="
        =sci-libs/tokenizers-0.21*[${PYTHON_SINGLE_USEDEP}]
@@ -49,66 +49,63 @@ src_test() {
                tests/deepspeed/test_deepspeed.py
                tests/deepspeed/test_model_zoo.py
                tests/fsdp/test_fsdp.py
-               tests/models/bartpho/test_tokenization_bartpho.py
-               tests/models/big_bird/test_modeling_big_bird.py
-               tests/models/cpm/test_tokenization_cpm.py
-               tests/models/layoutxlm/test_processor_layoutxlm.py
-               tests/models/layoutxlm/test_tokenization_layoutxlm.py
-               tests/models/mluke/test_tokenization_mluke.py
-               tests/models/nllb/test_tokenization_nllb.py
-               tests/models/qwen2_audio/test_modeling_qwen2_audio.py
-               tests/models/seamless_m4t/test_processor_seamless_m4t.py
-               tests/models/speech_to_text/test_processor_speech_to_text.py
-               tests/models/speech_to_text/test_tokenization_speech_to_text.py
-               tests/models/speecht5/test_processor_speecht5.py
-               tests/models/speecht5/test_tokenization_speecht5.py
-               tests/repo_utils/test_check_docstrings.py
-               tests/repo_utils/test_tests_fetcher.py
-               tests/trainer/test_trainer.py
-               tests/trainer/test_trainer_callback.py
-               tests/utils/test_file_utils.py
                
tests/models/audio_spectrogram_transformer/test_feature_extraction_audio_spectrogram_transformer.py
+               tests/models/bartpho/test_tokenization_bartpho.py
                tests/models/beit/test_image_processing_beit.py
+               tests/models/big_bird/test_modeling_big_bird.py
                tests/models/clap/test_feature_extraction_clap.py
                tests/models/clip/test_image_processing_clip.py
                tests/models/clvp/test_feature_extraction_clvp.py
                
tests/models/conditional_detr/test_image_processing_conditional_detr.py
+               tests/models/cpm/test_tokenization_cpm.py
                tests/models/dac/test_feature_extraction_dac.py
-               
tests/models/deformable_detr/test_image_processing_deformable_detr.py
                tests/models/encodec/test_feature_extraction_encodec.py
                
tests/models/grounding_dino/test_image_processing_grounding_dino.py
                tests/models/idefics/test_image_processing_idefics.py
                tests/models/idefics2/test_image_processing_idefics2.py
+               tests/models/layoutxlm/test_processor_layoutxlm.py
+               tests/models/layoutxlm/test_tokenization_layoutxlm.py
                tests/models/llava_next/test_image_processing_llava_next.py
                
tests/models/llava_next_video/test_image_processing_llava_next_video.py
                
tests/models/llava_onevision/test_image_processing_llava_onevision.py
                tests/models/markuplm/test_feature_extraction_markuplm.py
                tests/models/mask2former/test_image_processing_mask2former.py
                tests/models/maskformer/test_image_processing_maskformer.py
+               tests/models/mluke/test_tokenization_mluke.py
                
tests/models/musicgen_melody/test_feature_extraction_musicgen_melody.py
+               tests/models/nllb/test_tokenization_nllb.py
                tests/models/oneformer/test_image_processing_oneformer.py
                tests/models/oneformer/test_processor_oneformer.py
                tests/models/pix2struct/test_image_processing_pix2struct.py
-               tests/models/pixtral/test_image_processing_pixtral.py
                tests/models/pop2piano/test_feature_extraction_pop2piano.py
+               tests/models/qwen2_audio/test_modeling_qwen2_audio.py
                tests/models/qwen2_vl/test_image_processing_qwen2_vl.py
                
tests/models/seamless_m4t/test_feature_extraction_seamless_m4t.py
+               tests/models/seamless_m4t/test_processor_seamless_m4t.py
                tests/models/segformer/test_image_processing_segformer.py
                tests/models/seggpt/test_image_processing_seggpt.py
                
tests/models/speech_to_text/test_feature_extraction_speech_to_text.py
+               tests/models/speech_to_text/test_processor_speech_to_text.py
+               tests/models/speech_to_text/test_tokenization_speech_to_text.py
                tests/models/speecht5/test_feature_extraction_speecht5.py
+               tests/models/speecht5/test_processor_speecht5.py
+               tests/models/speecht5/test_tokenization_speecht5.py
                tests/models/superpoint/test_image_processing_superpoint.py
                tests/models/trocr/test_processor_trocr.py
                tests/models/univnet/test_feature_extraction_univnet.py
                tests/models/wav2vec2/test_feature_extraction_wav2vec2.py
                tests/models/whisper/test_feature_extraction_whisper.py
                tests/models/yolos/test_image_processing_yolos.py
+               tests/repo_utils/test_check_docstrings.py
+               tests/repo_utils/test_tests_fetcher.py
+               tests/trainer/test_trainer.py
+               tests/trainer/test_trainer_callback.py
+               tests/trainer/test_trainer.py
+               tests/trainer/test_trainer_callback.py
        )
 
        local EPYTEST_DESELECT=(
-               
tests/repo_utils/test_check_copies.py::CopyCheckTester::test_is_copy_consistent
-               
tests/repo_utils/test_check_copies.py::CopyCheckTester::test_is_copy_consistent_with_ignored_match
-               
tests/repo_utils/test_check_copies.py::CopyCheckTester::test_is_copy_consistent_with_ignored_no_match
+               
tests/agents/test_agents.py::AgentTests::test_init_agent_with_different_toolsets
        )
 
        EPYTEST_FLAGS="--dist=loadfile -s ./tests/"

Reply via email to