From 7a1cb48016fe653594878df7aa7aa124a1da2a50 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sun, 29 Mar 2026 22:47:08 +0000 Subject: [PATCH] python3Packages.huggingface-hub: 1.5.0 -> 1.9.0 Diff: https://github.com/huggingface/huggingface_hub/compare/v1.5.0...v1.9.0 Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v1.9.0 --- .../python-modules/huggingface-hub/default.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index f27ff8c7af56..f6721fd09a41 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -25,6 +25,9 @@ toml, fastai, fastcore, + # gradio + gradio, + requests, # mcp mcp, @@ -34,14 +37,14 @@ buildPythonPackage (finalAttrs: { pname = "huggingface-hub"; - version = "1.5.0"; + version = "1.9.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "huggingface_hub"; tag = "v${finalAttrs.version}"; - hash = "sha256-XuqZvTu3DuncGpRWXipxtDLY2alY7QVm89ZmpgTdfVo="; + hash = "sha256-7spvenDWuSDVTlcbOQd8oJ3bwzsyuQDIyMiVSyFIhuQ="; }; build-system = [ setuptools ]; @@ -72,6 +75,10 @@ buildPythonPackage (finalAttrs: { fastai fastcore ]; + gradio = [ + gradio + requests + ]; hf_xet = [ hf-xet ];