mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-ml/huggingface_hub: drop 0.24.7, 0.25.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST huggingface_hub-0.24.7.gh.tar.gz 4009372 BLAKE2B e1a949dc204af152538bb95e226c3e1fa9faaf0b77a49c6a5adee9d751c0b1344c9c76670baf840fe7eb04e8a2dd8816fcac7e143e26c6fe589bb9e4325120f3 SHA512 e944e5091121197ee78f4b199795fad3f984fd7177103357303010b412ff3e88c613efe1c8fc328f602475f3e4d747d8262e0675ea9ff831310875bb70e5fef9
|
||||
DIST huggingface_hub-0.25.2.gh.tar.gz 4033422 BLAKE2B 77c5d40c65e0da4d006d33c6f6663521a5bf52c8ef315a329ff3ed9e9ab234a40183abc1b22ef63d236bc982255eca2038962c98a1f63cc5702c958395918720 SHA512 8933e469cd1e8fc43e9da3991f6acb598531c01bcd833218a1838419774d613102c095ce3beebab8dae1ff2708946d8f417b9861c69a460d38eae24f9bb9d718
|
||||
DIST huggingface_hub-0.26.5.gh.tar.gz 4056959 BLAKE2B 719c7abd00a822929ec4a14924ea200b91c8b8be2fb45b71e8f98a8e4e178613bc444bd67f9b013f94bd808b8229171872014249013e32f37e74a3ea709c0ae9 SHA512 e151e216b681b72ecb28e82d05bb5c6edf25bbbd34d6ce10d2896b54d9fdaf5ec062b2f777a2e5c61fbc92c901351adfb1f9fcfac2efb360e2a3076d5dd08c34
|
||||
|
||||
@@ -1,32 +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..12} )
|
||||
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"
|
||||
RESTRICT="test" #Several modules not yet packaged
|
||||
|
||||
RDEPEND="
|
||||
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}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,63 +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..12} )
|
||||
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="
|
||||
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}]
|
||||
"
|
||||
|
||||
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_command_delete_cache.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_init_lazy_loading.py
|
||||
tests/test_cache_no_symlinks.py
|
||||
tests/test_file_download.py
|
||||
tests/test_hf_api.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_hub_mixin.py::HubMixinTest::test_push_to_hub
|
||||
tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub
|
||||
)
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user