From 53256856fa538e2592894958a99be3d19d2ae348 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 16 Jul 2026 16:14:16 +0200 Subject: [PATCH] python3Packages.huggingface-hub: 1.23.0 -> 1.16.0 https://github.com/huggingface/huggingface_hub/releases/tag/v1.16.0 Required downgrade, becaus we rolled back the Click 8.4 update. (cherry picked from commit 1b19e5e19615fcc2fab31c038c0a345c29b8aff9) --- .../python-modules/huggingface-hub/default.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 57948a00daf2..9edd32ac8c5d 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -7,7 +7,6 @@ setuptools, # dependencies - click, filelock, fsspec, hf-xet, @@ -15,6 +14,7 @@ packaging, pyyaml, tqdm, + typer, typing-extensions, # optional-dependencies @@ -41,20 +41,19 @@ buildPythonPackage (finalAttrs: { pname = "huggingface-hub"; - version = "1.23.0"; + version = "1.16.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "huggingface_hub"; tag = "v${finalAttrs.version}"; - hash = "sha256-Xl9girALcJw7aeLjFd4d/xITS8bTz9xlmziEQwrOdQ0="; + hash = "sha256-GuTsoz7ow3A/PJyU3L/xLp56r3RVx5O1YH3nr3T4u7U="; }; build-system = [ setuptools ]; dependencies = [ - click filelock fsspec hf-xet @@ -62,6 +61,7 @@ buildPythonPackage (finalAttrs: { packaging pyyaml tqdm + typer typing-extensions ];