diff options
Diffstat (limited to 'sci-ml')
-rw-r--r-- | sci-ml/Manifest.gz | bin | 5238 -> 5233 bytes | |||
-rw-r--r-- | sci-ml/datasets/Manifest | 2 | ||||
-rw-r--r-- | sci-ml/datasets/datasets-3.2.0.ebuild | 112 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/Manifest | 6 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild | 72 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild | 76 | ||||
-rw-r--r-- | sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild | 74 |
7 files changed, 114 insertions, 228 deletions
diff --git a/sci-ml/Manifest.gz b/sci-ml/Manifest.gz Binary files differindex 098d1c260aa3..7c021c9f6947 100644 --- a/sci-ml/Manifest.gz +++ b/sci-ml/Manifest.gz diff --git a/sci-ml/datasets/Manifest b/sci-ml/datasets/Manifest index 0f7f7dbc7341..a6ba7b692e98 100644 --- a/sci-ml/datasets/Manifest +++ b/sci-ml/datasets/Manifest @@ -2,6 +2,8 @@ AUX datasets-2.21.0-tests.patch 721 BLAKE2B cf85b02a4eb5da27e52bf819f00e333d6e3f AUX datasets-3.0.2-tests.patch 335 BLAKE2B b7499d85cc8cf09a2cb9b58aa0c7ab16c1bc700812c767465979cc59b11d63d05f52422ae731317f373314164715079f6fa81b30d47e3058ce88d6539d049789 SHA512 3f533ab765362ea6a1bc7a1766d332f5bc53e342cbb684061eaed58ef415f715c003f210b73a8b0ca20245d8e1f60517191829fb64feb53101211a9f81542e5a DIST datasets-3.0.2.gh.tar.gz 1867037 BLAKE2B 92475ac566bd825c542dbd3e138c83e1733e6d1137f30a2cfd8f82f7dd54ed78c0566aa766182625e8787413be18f5a0c0c0a289b5823fa9112dcb2876074b7e SHA512 aa55dd2f53df7217c30999f759c76a13d78851233bce4df9b1ad85081e101a7280e905822160874d24d15ea1e1a5ecee1bae9cc66785e89af45ad16dd0339595 DIST datasets-3.1.0.gh.tar.gz 1877057 BLAKE2B 818cbf10282f775cda5956ae37607bb5357a753229fa91788b19437eb28df609a99c9000f283a8b9b27a920efb3b32f991d729db94a0acf08aaca8cdcd6c4f4b SHA512 7e2a22b6ca423f4358153137f50d963075d37ad01e834c78176dc432f1b3adc3b80df44ac35b22d727db4e1aa8331c938efca1ab2d678e58401e8e7ce571abfc +DIST datasets-3.2.0.gh.tar.gz 1877261 BLAKE2B 0169ee27e1128f8b64fda0e3a4dd63d5d603874cdbf703cd73f100ad1ea69294c300b93cddaa4f2dd8c795570b76adb34e40475d38730f4733679008fb593d84 SHA512 2e381d6919ea7f2e934e832d6bff30a4b23cfe929c0b4345703ce39c7882daf8a234fe71ca89d1d9bcd75000e35845156f7036f9604504ac584feb1b8d3239b1 EBUILD datasets-3.0.2-r1.ebuild 3862 BLAKE2B 757bd443b59c6636a4a993d1ed8010a0e331bf98d93e0228d2df15f1b31056c1555f9f9bc5790c682d23866ba3f9b5dec154356f6cfacf1e7b6e9a450759e181 SHA512 9c7e9572592716ddc2ad4a84e5df69fc46cba872f17f92de36ba803ae0e1db0bc65568e9bc9327c42b0053ff1f28dc58533eab57a1753f696510e042c713f916 EBUILD datasets-3.1.0.ebuild 3869 BLAKE2B 4646f5dd6fd885f98321956d3875b656fc49b88d69e3235dfb741e95127aa925a2e64316a43acb47fd2f01c4d2391b65980b28cf206843c785f7aba73bfdfecd SHA512 29269df33350b63b0a7e6ccd847a73eb9647a4c292fb8fe22b9960fdc7152dcc002f54b279249155c194c5db1f665ff4bead14a45bd3c8f83278128dc4d602f3 +EBUILD datasets-3.2.0.ebuild 3869 BLAKE2B 4646f5dd6fd885f98321956d3875b656fc49b88d69e3235dfb741e95127aa925a2e64316a43acb47fd2f01c4d2391b65980b28cf206843c785f7aba73bfdfecd SHA512 29269df33350b63b0a7e6ccd847a73eb9647a4c292fb8fe22b9960fdc7152dcc002f54b279249155c194c5db1f665ff4bead14a45bd3c8f83278128dc4d602f3 MISC metadata.xml 379 BLAKE2B 48ebb9e7bfa8b58b0d15b82c4146def465e08cf3212ab4af04129d09c153b67b00d0fa05b94d6af54f643ec3a202f2335d3254b966f49d1394d3c7b9e5da56a5 SHA512 99560decfaa0e438980f372d99257695e9ca9585167d9aba091e0b775c2f8384657ddc017841c8f06f8b568017a54fb9e31da736f3c875da717e154cdce876d1 diff --git a/sci-ml/datasets/datasets-3.2.0.ebuild b/sci-ml/datasets/datasets-3.2.0.ebuild new file mode 100644 index 000000000000..206da6ebe884 --- /dev/null +++ b/sci-ml/datasets/datasets-3.2.0.ebuild @@ -0,0 +1,112 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 + +DESCRIPTION="Access and share datasets for Audio, Computer Vision, and NLP tasks" +HOMEPAGE="https://pypi.org/project/datasets/" +SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + ${PYTHON_DEPS} + sci-ml/caffe2[${PYTHON_SINGLE_USEDEP},numpy] + sci-ml/huggingface_hub[${PYTHON_SINGLE_USEDEP}] + sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/aiohttp[${PYTHON_USEDEP}] + dev-python/dill[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] + dev-python/multiprocess[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] + dev-python/pyarrow[${PYTHON_USEDEP},parquet,snappy] + dev-python/pyyaml[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + ') +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( + sci-ml/torchvision[${PYTHON_SINGLE_USEDEP}] + $(python_gen_cond_dep ' + dev-python/absl-py[${PYTHON_USEDEP}] + dev-python/decorator[${PYTHON_USEDEP}] + dev-python/lz4[${PYTHON_USEDEP}] + dev-python/pytest-datadir[${PYTHON_USEDEP}] + dev-python/scikit-learn[${PYTHON_USEDEP}] + dev-python/soundfile[${PYTHON_USEDEP}] + dev-python/sqlalchemy[${PYTHON_USEDEP}] + dev-python/zstandard[${PYTHON_USEDEP}] + sci-ml/jiwer[${PYTHON_USEDEP}] + sci-ml/seqeval[${PYTHON_USEDEP}] + ') +)" + +PATCHES=( + "${FILESDIR}"/${PN}-3.0.2-tests.patch +) + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + sed -i -e \ + "/pyarrow_hotfix/d" \ + src/datasets/features/features.py || die +} + +src_test() { + local EPYTEST_IGNORE=( + tests/features/test_audio.py + tests/packaged_modules/test_audiofolder.py + tests/packaged_modules/test_spark.py + tests/test_fingerprint.py + tests/test_iterable_dataset.py + tests/test_inspect.py + tests/test_load.py + tests/test_upstream_hub.py + ) + + local EPYTEST_DESELECT=( + tests/commands/test_test.py::test_test_command + 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_distributed.py::test_torch_distributed_run + tests/test_file_utils.py::TestxPath::test_xpath_rglob + tests/test_file_utils.py::TestxPath::test_xpath_glob + tests/test_file_utils.py::test_xexists_private + tests/test_file_utils.py::test_xlistdir_private + tests/test_file_utils.py::test_xisdir_private + tests/test_file_utils.py::test_xisfile_private + tests/test_file_utils.py::test_xgetsize_private + tests/test_file_utils.py::test_xglob_private + tests/test_file_utils.py::test_xwalk_private + tests/test_hub.py::test_convert_to_parquet + tests/packaged_modules/test_cache.py::test_cache_capital_letters + tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_different_levels_no_metadata + tests/packaged_modules/test_folder_based_builder.py::test_data_files_with_one_label_no_metadata + 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_file_utils.py::test_xopen_remote + tests/test_hub.py::test_delete_from_hub + tests/test_offline_util.py::test_offline_with_timeout + tests/test_search.py::ElasticSearchIndexTest::test_elasticsearch + ) + distutils-r1_src_test +} diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest index ff871f62bd07..dfe97a474ccd 100644 --- a/sci-ml/huggingface_hub/Manifest +++ b/sci-ml/huggingface_hub/Manifest @@ -1,9 +1,3 @@ -DIST huggingface_hub-0.27.1.gh.tar.gz 4079456 BLAKE2B 846291aa9242e6951c26fd8f695a2f324899b473e01a582dc0fa9aad11e0bb30233761c5dd573876167913e4fe89c2616ab857892c08fa067eac11d7b2fb5228 SHA512 64d435a08765c67e3046370a4bc701da136570f3b23cdf1b5d35c679331694c8cb35ece72417f34f4288d035695d39e4ab6e1e1dce2fb33db42b3664258186cd -DIST huggingface_hub-0.28.1.gh.tar.gz 6559176 BLAKE2B 30c465d7e844dadf4d3154bdb440bcac4296860518e38ae607994e5f7e6642c2e2b94d755faf48e2d129f621275df55819903723113f1bd76bbd3b61c0f49dcc SHA512 3893cac7540d0cc8be65047c1b6798f3d39592070a9be5a86b5f44464cc66d2f12b2a3f0c5c5a12b96a624f128e1160bda1c45c814d2acae294f1484929ec11c -DIST huggingface_hub-0.29.3.gh.tar.gz 7184631 BLAKE2B 96f3e0e6584c506b3c177ac848edcc9f544950b371a4023bef63efe1c0f74c1a71317ece3acd0d170484eb1d83f43dfd1cfadf3e0c5e5e86ed3b6e6574e25d98 SHA512 22bdf8de5db80fb4242f9d5ddc2256ac0e894727b03614f54500f01bfe1df109e92307356e6e1007d3dd7f8b5dcb3902aa41ac59cc59d769c454bd3ded0213d0 DIST huggingface_hub-0.30.2.gh.tar.gz 7246628 BLAKE2B b423b437654708bef2e609c0dc6c48f286db8c9a8cacc517d2a4d32b44f083674955b0ab0f98206b8042ece4c244c02de529a41995a1502da1d792c1f8f56f7e SHA512 c50000066a9522fec9096ec00ff94d891a74ccf2e36507c52cf08c55c2f174e9dfcb383436ff03f64fa4ee0b4c3d00088db3e8fefbc9f2aaa30c20e5fe48e931 -EBUILD huggingface_hub-0.27.1.ebuild 2090 BLAKE2B aaf70ecfc27fd13a534de3d721c2a3b21269452328a68463c3666b1a1434b9ac2b63930c435a26c06a5b628774b99835fba3f60f2eada150ee95b53a1b37b541 SHA512 d2b2cd492dea1f3cf35a1b6922d6f36f8518af54d6fc858c9c979285a812beb0463c1900bffe78508ed83481e0c010adaff920940b112072a43ecffd386360ed -EBUILD huggingface_hub-0.28.1.ebuild 2137 BLAKE2B 35f4e5a7da503ece8b0451c3345800d623868489fb738f15c325d6b0b9858bff6c3f2a179b2899c86add8b49994ce3c32b69102a8370f1f2b771eb639ecd27c2 SHA512 1a6da5f91ecbd9082ad0e81999511bdc83629f5aa344e80b3cb41d6a613392cec355793b1c149557ae216ee06d7a595a7ef6585a37d4978f986652c305e3f7f6 -EBUILD huggingface_hub-0.29.3.ebuild 2027 BLAKE2B ec7671e02741462d63a20424eda876f9c18f58a5ec9745bfd41d909a5b9da973a1bcb9a334f42a640eb633cf0fda33158438e40360a31950360866bf25c66a57 SHA512 73e61f3af2aaff6be4c9fa1789924ffe9cd4182daff52bce83f49d2199525686f5cc7cd2860e37612d1ac48f392c63f40d22b76cb0012d2bf80d6d9d56488531 EBUILD huggingface_hub-0.30.2.ebuild 2083 BLAKE2B 8b83cfe2562cc26d0961c5395d72e60ef1aa9b0b02fc9741dd674d92223bb7e9ae442aab7ead8bf801bb0da4fc54b5e8f01dab66adc9ac21c7945a41e6f3921a SHA512 9cf759fcaf6feea20000449dc046d2f03dab0b2e79d21183ae794f42ca5d413e27d67d040c85927eb3a7ed9fa470182bb3e500d7a8a05030600d2255ca357649 MISC metadata.xml 393 BLAKE2B 1703224359804943e921acb978be119c5ae48c6dae23177d9ba2a4b843a1f8cf10487c7dfc5af83600bb98f1443cb5d3cdad1d48ddc5db7117ebb3092af5fe44 SHA512 74ac25236d7cd4b169ec6281480b140e25f0b2579998ca441eb2ab5c070ed87690c49b7af1bb7b83d8782685c18dc3d2cd5f7ef27e8a51fa8863badc58214461 diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild deleted file mode 100644 index 0825d6c3e9bd..000000000000 --- a/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 - -DESCRIPTION="a client library to interact with the Hugging Face Hub" -HOMEPAGE=" - https://pypi.org/project/huggingface_hub/ -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/fsspec[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ') -" - -BDEPEND="test? ( - sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] - )" - -distutils_enable_tests pytest - -src_test() { - local EPYTEST_IGNORE=( - contrib/sentence_transformers/test_sentence_transformers.py - contrib/spacy/test_spacy.py - contrib/timm/test_timm.py - tests/test_cache_no_symlinks.py - tests/test_command_delete_cache.py - tests/test_file_download.py - tests/test_hf_api.py - tests/test_inference_api.py - tests/test_inference_async_client.py - tests/test_inference_client.py - tests/test_inference_text_generation.py - tests/test_repocard.py - tests/test_repository.py - tests/test_snapshot_download.py - tests/test_utils_cache.py - tests/test_utils_telemetry.py - tests/test_webhooks_server.py - ) - - local EPYTEST_DESELECT=( - tests/test_cache_layout.py::ReferenceUpdates::test_update_reference - tests/test_commit_scheduler.py::TestCommitScheduler::test_sync_local_folder - tests/test_dduf.py::TestExportFolder::test_export_folder - tests/test_file_download.py::StagingDownloadTests::test_download_from_a_gated_repo_with_hf_hub_download - tests/test_hf_api.py::TestLargeUpload::test_upload_large_folder - tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub - tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub - ) - - distutils-r1_src_test -} diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild deleted file mode 100644 index 72d84958b380..000000000000 --- a/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 - -DESCRIPTION="a client library to interact with the Hugging Face Hub" -HOMEPAGE=" - https://pypi.org/project/huggingface_hub/ -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/fsspec[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ') -" - -BDEPEND="test? ( - sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] - dev-vcs/git-lfs - )" - -distutils_enable_tests pytest - -src_test() { - local EPYTEST_IGNORE=( - contrib/sentence_transformers/test_sentence_transformers.py - contrib/spacy/test_spacy.py - contrib/timm/test_timm.py - tests/test_cache_layout.py - tests/test_cache_no_symlinks.py - tests/test_command_delete_cache.py - tests/test_commit_scheduler.py - tests/test_file_download.py - tests/test_hf_api.py - tests/test_hf_file_system.py - tests/test_inference_api.py - tests/test_inference_async_client.py - tests/test_inference_client.py - tests/test_inference_text_generation.py - tests/test_repocard.py - tests/test_repository.py - tests/test_snapshot_download.py - tests/test_utils_cache.py - tests/test_utils_http.py - tests/test_utils_telemetry.py - tests/test_webhooks_server.py - ) - - local EPYTEST_DESELECT=( - tests/test_dduf.py::TestExportFolder::test_export_folder - tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub - tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub - tests/test_offline_utils.py::test_offline_with_timeout - tests/test_utils_pagination.py::TestPagination::test_paginate_github_api - tests/test_fastai_integration.py::TestFastaiUtils::test_push_to_hub_and_from_pretrained_fastai - ) - - distutils-r1_src_test -} diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild deleted file mode 100644 index 9145aef77aa4..000000000000 --- a/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 2023-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{10..13} ) -DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 - -DESCRIPTION="a client library to interact with the Hugging Face Hub" -HOMEPAGE=" - https://pypi.org/project/huggingface_hub/ -" -SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.gh.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/filelock[${PYTHON_USEDEP}] - dev-python/fsspec[${PYTHON_USEDEP}] - dev-python/packaging[${PYTHON_USEDEP}] - dev-python/pyyaml[${PYTHON_USEDEP}] - dev-python/requests[${PYTHON_USEDEP}] - dev-python/tqdm[${PYTHON_USEDEP}] - dev-python/typing-extensions[${PYTHON_USEDEP}] - ') -" - -BDEPEND="test? ( - sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] - dev-vcs/git-lfs - )" - -distutils_enable_tests pytest - -src_test() { - local EPYTEST_IGNORE=( - contrib - tests/test_cache_layout.py - tests/test_cache_no_symlinks.py - tests/test_command_delete_cache.py - tests/test_commit_scheduler.py - tests/test_file_download.py - tests/test_hf_api.py - tests/test_hf_file_system.py - tests/test_inference_api.py - tests/test_inference_async_client.py - tests/test_inference_client.py - tests/test_inference_text_generation.py - tests/test_repocard.py - tests/test_repository.py - tests/test_snapshot_download.py - tests/test_utils_cache.py - tests/test_utils_http.py - tests/test_utils_telemetry.py - tests/test_webhooks_server.py - ) - - local EPYTEST_DESELECT=( - tests/test_dduf.py::TestExportFolder::test_export_folder - tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub - tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub - tests/test_offline_utils.py::test_offline_with_timeout - tests/test_utils_pagination.py::TestPagination::test_paginate_github_api - tests/test_fastai_integration.py::TestFastaiUtils::test_push_to_hub_and_from_pretrained_fastai - ) - - distutils-r1_src_test -} |