sci-ml/huggingface_hub: drop 0.34.6, 0.35.3

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-11-21 19:42:39 +01:00
parent 1f11c9c435
commit 2be2a3930b
3 changed files with 0 additions and 155 deletions

View File

@@ -1,3 +1 @@
DIST huggingface_hub-0.34.6.gh.tar.gz 1044707 BLAKE2B c2cfed598504c21ce0b2972b6bdaac1860351e5558c7641322778a7d76d543c1102acbf01b5c70cae808bf589b52606fca8bbaaa4cd9ea8cbdd7493806d48d30 SHA512 facfb56c8d03fed44f2b4cacecd1d5e86a1787320d504232d20929e4e0ac28ddf66c3edc2164e076bd09935f6915a47cbd70622ee5175e812875bf68b8df69e1
DIST huggingface_hub-0.35.3.gh.tar.gz 1049906 BLAKE2B f507f09a0451aa76afd87fcf369f3ccb0f9aeb98741e8d89ddcfb1e9c60c39a294b38bf9c66dd9c4f4a88c74dd9af66183c651aa1d874d52b1f721c2a8411d55 SHA512 0e099d59ab47768ed055c0c79bc13c3d8bfb126f9962dadb4f92e76fa5ae30624a078f96e0543834c1801344395e64407e549e92e048c5884fb1727223446754
DIST huggingface_hub-0.36.0.gh.tar.gz 1052598 BLAKE2B b5c476775ad36daa09ff7d1816f45a0ded7cfd0d31ee83d325214aa1e5cae65f0dbc881183ff1b2265e15d9874773bae34f26ee82fd15c763f197dad13d996e9 SHA512 8fd198ae6d8a778dec756c2a30220f29f60a19b0845210e970ee0689d81b7ab6b349f7136c99db6216c4219224cc8be3f801c070159269ef2a1e28086cf41200

View File

@@ -1,77 +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 ~arm64"
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_client.py
tests/test_oauth.py
tests/test_repocard.py
tests/test_repository.py
tests/test_snapshot_download.py
tests/test_utils_telemetry.py
tests/test_xet_download.py
tests/test_xet_upload.py
tests/test_utils_cache.py
tests/test_utils_http.py
tests/test_webhooks_server.py
)
local EPYTEST_DESELECT=(
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
tests/test_inference_async_client.py::test_async_generate_timeout_error
tests/test_inference_providers.py::TestHFInferenceProvider::test_prepare_mapping_info_unknown_task
tests/test_offline_utils.py::test_offline_with_timeout
tests/test_utils_pagination.py::TestPagination::test_paginate_github_api
tests/test_utils_pagination.py::TestPagination::test_paginate_hf_api
)
distutils-r1_src_test
}

View File

@@ -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 ~arm64"
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_client.py
tests/test_oauth.py
tests/test_repocard.py
tests/test_repository.py
tests/test_snapshot_download.py
tests/test_utils_telemetry.py
tests/test_xet_download.py
tests/test_xet_upload.py
tests/test_utils_cache.py
tests/test_utils_http.py
tests/test_webhooks_server.py
)
local EPYTEST_DESELECT=(
tests/test_cli.py::TestJobsCommand::test_uv_local_script
tests/test_hub_mixin.py::HubMixinTest::test_push_to_hub
tests/test_hub_mixin_pytorch.py::PytorchHubMixinTest::test_push_to_hub
tests/test_inference_async_client.py::test_async_generate_timeout_error
tests/test_inference_providers.py::TestHFInferenceProvider::test_prepare_mapping_info_unknown_task
tests/test_offline_utils.py::test_offline_with_timeout
tests/test_utils_pagination.py::TestPagination::test_paginate_hf_api
)
distutils-r1_src_test
}