repo/gentoo:master commit in: sci-ml/huggingface_hub/

"Alfredo Tupone" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1786269803.4fe74d3ce94ebce076270086e756e87c27f14739.tupone@gentoo>
commit:     4fe74d3ce94ebce076270086e756e87c27f14739
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  9 10:02:45 2026 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Aug  9 10:03:23 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fe74d3c

sci-ml/huggingface_hub: tests require torch+gloo

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

 ...uggingface_hub-1.26.0.ebuild => huggingface_hub-1.26.0-r1.ebuild} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-ml/huggingface_hub/huggingface_hub-1.26.0.ebuild b/sci-ml/huggingface_hub/huggingface_hub-1.26.0-r1.ebuild
similarity index 97%
rename from sci-ml/huggingface_hub/huggingface_hub-1.26.0.ebuild
rename to sci-ml/huggingface_hub/huggingface_hub-1.26.0-r1.ebuild
index 2c35a92a2ddc..38da4db0314b 100644
--- a/sci-ml/huggingface_hub/huggingface_hub-1.26.0.ebuild
+++ b/sci-ml/huggingface_hub/huggingface_hub-1.26.0-r1.ebuild
@@ -19,6 +19,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64"
 IUSE="torch"
+REQUIRED_USE="test? ( torch )"
 
 RDEPEND="
 	$(python_gen_cond_dep '
@@ -38,14 +39,12 @@ RDEPEND="
 		)
 	')
 	torch? (
-		sci-ml/caffe2[${PYTHON_SINGLE_USEDEP}]
-		sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
+		>=sci-ml/pytorch-2.13.0[${PYTHON_SINGLE_USEDEP},gloo]
 	)
 "
 
 BDEPEND="
 	test? (
-		sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}]
 		dev-vcs/git-lfs
 		$(python_gen_cond_dep '
 			dev-python/jedi[${PYTHON_USEDEP}]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.