public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-03-24 18:28 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-03-24 18:28 UTC (permalink / raw
  To: gentoo-commits

commit:     1392f0c4724a1c7a766f33fe4eee13bc4d1a3443
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 24 18:27:42 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Mar 24 18:28:18 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1392f0c4

sci-ml/huggingface_hub: enable py3.13

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

 .../{huggingface_hub-0.26.5.ebuild => huggingface_hub-0.26.5-r1.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild
similarity index 98%
rename from sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild
rename to sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild
index 9a275233607b..74add64c6e5d 100644
--- a/sci-ml/huggingface_hub/huggingface_hub-0.26.5.ebuild
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 inherit distutils-r1
 
 DESCRIPTION="a client library to interact with the Hugging Face Hub"


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-03-26  5:39 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-03-26  5:39 UTC (permalink / raw
  To: gentoo-commits

commit:     976e299a40b5d3def7a163b14fae37e5c33ba776
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 26 05:39:35 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Wed Mar 26 05:39:35 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976e299a

sci-ml/huggingface_hub: drop 0.24.7, 0.25.2

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

 sci-ml/huggingface_hub/Manifest                    |  2 -
 .../huggingface_hub/huggingface_hub-0.24.7.ebuild  | 32 -----------
 .../huggingface_hub/huggingface_hub-0.25.2.ebuild  | 63 ----------------------
 3 files changed, 97 deletions(-)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index 3756cc3140e6..82bc2d1a1e95 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -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

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.24.7.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.24.7.ebuild
deleted file mode 100644
index f5eae5edcb65..000000000000
--- a/sci-ml/huggingface_hub/huggingface_hub-0.24.7.ebuild
+++ /dev/null
@@ -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

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.25.2.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.25.2.ebuild
deleted file mode 100644
index 9a275233607b..000000000000
--- a/sci-ml/huggingface_hub/huggingface_hub-0.25.2.ebuild
+++ /dev/null
@@ -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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-03-27 13:19 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-03-27 13:19 UTC (permalink / raw
  To: gentoo-commits

commit:     11af7530a6bcd3cc475e760595028041b4331344
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 27 13:18:31 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Mar 27 13:18:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11af7530

sci-ml/huggingface_hub: add 0.27.1

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

 sci-ml/huggingface_hub/Manifest                    |  1 +
 .../huggingface_hub/huggingface_hub-0.27.1.ebuild  | 72 ++++++++++++++++++++++
 2 files changed, 73 insertions(+)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index 82bc2d1a1e95..fc4e73154684 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1 +1,2 @@
 DIST huggingface_hub-0.26.5.gh.tar.gz 4056959 BLAKE2B 719c7abd00a822929ec4a14924ea200b91c8b8be2fb45b71e8f98a8e4e178613bc444bd67f9b013f94bd808b8229171872014249013e32f37e74a3ea709c0ae9 SHA512 e151e216b681b72ecb28e82d05bb5c6edf25bbbd34d6ce10d2896b54d9fdaf5ec062b2f777a2e5c61fbc92c901351adfb1f9fcfac2efb360e2a3076d5dd08c34
+DIST huggingface_hub-0.27.1.gh.tar.gz 4079456 BLAKE2B 846291aa9242e6951c26fd8f695a2f324899b473e01a582dc0fa9aad11e0bb30233761c5dd573876167913e4fe89c2616ab857892c08fa067eac11d7b2fb5228 SHA512 64d435a08765c67e3046370a4bc701da136570f3b23cdf1b5d35c679331694c8cb35ece72417f34f4288d035695d39e4ab6e1e1dce2fb33db42b3664258186cd

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild
new file mode 100644
index 000000000000..0825d6c3e9bd
--- /dev/null
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.27.1.ebuild
@@ -0,0 +1,72 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-03-28 17:54 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-03-28 17:54 UTC (permalink / raw
  To: gentoo-commits

commit:     7021eed5a01073afcc30f78cf75789ff3e423977
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 28 17:53:55 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Mar 28 17:54:02 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7021eed5

sci-ml/huggingface_hub: drop 0.26.5-r1

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

 sci-ml/huggingface_hub/Manifest                    |  1 -
 .../huggingface_hub-0.26.5-r1.ebuild               | 63 ----------------------
 2 files changed, 64 deletions(-)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index fc4e73154684..a21774844227 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1,2 +1 @@
-DIST huggingface_hub-0.26.5.gh.tar.gz 4056959 BLAKE2B 719c7abd00a822929ec4a14924ea200b91c8b8be2fb45b71e8f98a8e4e178613bc444bd67f9b013f94bd808b8229171872014249013e32f37e74a3ea709c0ae9 SHA512 e151e216b681b72ecb28e82d05bb5c6edf25bbbd34d6ce10d2896b54d9fdaf5ec062b2f777a2e5c61fbc92c901351adfb1f9fcfac2efb360e2a3076d5dd08c34
 DIST huggingface_hub-0.27.1.gh.tar.gz 4079456 BLAKE2B 846291aa9242e6951c26fd8f695a2f324899b473e01a582dc0fa9aad11e0bb30233761c5dd573876167913e4fe89c2616ab857892c08fa067eac11d7b2fb5228 SHA512 64d435a08765c67e3046370a4bc701da136570f3b23cdf1b5d35c679331694c8cb35ece72417f34f4288d035695d39e4ab6e1e1dce2fb33db42b3664258186cd

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild
deleted file mode 100644
index 74add64c6e5d..000000000000
--- a/sci-ml/huggingface_hub/huggingface_hub-0.26.5-r1.ebuild
+++ /dev/null
@@ -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..13} )
-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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-04-03 18:48 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-04-03 18:48 UTC (permalink / raw
  To: gentoo-commits

commit:     9a6af4b886a5b34dc9dd44cde5adddce3eeefcf0
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  3 18:43:23 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Apr  3 18:48:12 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6af4b8

sci-ml/huggingface_hub: add 0.28.1

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

 sci-ml/huggingface_hub/Manifest                    |  1 +
 .../huggingface_hub/huggingface_hub-0.28.1.ebuild  | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index a21774844227..7a5b137d2ef9 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1 +1,2 @@
 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

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild
new file mode 100644
index 000000000000..292c7542bfa7
--- /dev/null
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild
@@ -0,0 +1,75 @@
+# 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
+	)
+
+	distutils-r1_src_test
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-04-08 16:37 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-04-08 16:37 UTC (permalink / raw
  To: gentoo-commits

commit:     8ebeb760f80ffd16b5b2af5023c5a17f0e075711
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  8 16:36:46 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Apr  8 16:37:08 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ebeb760

sci-ml/huggingface_hub: drop fastai test needing net

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

 sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild
index 292c7542bfa7..72d84958b380 100644
--- a/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.28.1.ebuild
@@ -69,6 +69,7 @@ src_test() {
 		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


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-04-11  6:31 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-04-11  6:31 UTC (permalink / raw
  To: gentoo-commits

commit:     109517f85fd82e21250779d635c5b4293ce101a1
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 11 06:30:58 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Apr 11 06:31:14 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=109517f8

sci-ml/huggingface_hub: add 0.29.3

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

 sci-ml/huggingface_hub/Manifest                    |  1 +
 .../huggingface_hub/huggingface_hub-0.29.3.ebuild  | 74 ++++++++++++++++++++++
 2 files changed, 75 insertions(+)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index 7a5b137d2ef9..82786e2ae5d7 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1,2 +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

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild
new file mode 100644
index 000000000000..9145aef77aa4
--- /dev/null
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.29.3.ebuild
@@ -0,0 +1,74 @@
+# 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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-04-11 21:22 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-04-11 21:22 UTC (permalink / raw
  To: gentoo-commits

commit:     e4e027a3000fba5d19f1464ba80171f0e3df9910
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 11 21:22:07 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Fri Apr 11 21:22:17 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4e027a3

sci-ml/huggingface_hub: add 0.30.2

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

 sci-ml/huggingface_hub/Manifest                    |  1 +
 .../huggingface_hub/huggingface_hub-0.30.2.ebuild  | 76 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index 82786e2ae5d7..1c1bd4621cc0 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1,3 +1,4 @@
 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

diff --git a/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild b/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild
new file mode 100644
index 000000000000..dd37fc37b740
--- /dev/null
+++ b/sci-ml/huggingface_hub/huggingface_hub-0.30.2.ebuild
@@ -0,0 +1,76 @@
+# 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_xet_download.py
+		tests/test_xet_upload.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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/
@ 2025-04-14 18:14 Alfredo Tupone
  0 siblings, 0 replies; 9+ messages in thread
From: Alfredo Tupone @ 2025-04-14 18:14 UTC (permalink / raw
  To: gentoo-commits

commit:     3910deb8a249da45bcdf6b0ee4e4d6419e804ad2
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 14 18:13:52 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Mon Apr 14 18:13:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3910deb8

sci-ml/huggingface_hub: drop 0.27.1, 0.28.1, 0.29.3

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

 sci-ml/huggingface_hub/Manifest                    |  3 -
 .../huggingface_hub/huggingface_hub-0.27.1.ebuild  | 72 --------------------
 .../huggingface_hub/huggingface_hub-0.28.1.ebuild  | 76 ----------------------
 .../huggingface_hub/huggingface_hub-0.29.3.ebuild  | 74 ---------------------
 4 files changed, 225 deletions(-)

diff --git a/sci-ml/huggingface_hub/Manifest b/sci-ml/huggingface_hub/Manifest
index 1c1bd4621cc0..94338b900a13 100644
--- a/sci-ml/huggingface_hub/Manifest
+++ b/sci-ml/huggingface_hub/Manifest
@@ -1,4 +1 @@
-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

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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2025-04-14 18:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 18:28 [gentoo-commits] repo/gentoo:master commit in: sci-ml/huggingface_hub/ Alfredo Tupone
  -- strict thread matches above, loose matches on Subject: below --
2025-03-26  5:39 Alfredo Tupone
2025-03-27 13:19 Alfredo Tupone
2025-03-28 17:54 Alfredo Tupone
2025-04-03 18:48 Alfredo Tupone
2025-04-08 16:37 Alfredo Tupone
2025-04-11  6:31 Alfredo Tupone
2025-04-11 21:22 Alfredo Tupone
2025-04-14 18:14 Alfredo Tupone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox