python3Packages.huggingface-hub: 1.10.2 -> 1.23.0

https://github.com/huggingface/huggingface_hub/releases/tag/v1.23.0
This commit is contained in:
Martin Weinelt
2026-07-13 23:04:39 +02:00
parent 1aeafa7c2a
commit 18a55b8b13

View File

@@ -7,6 +7,7 @@
setuptools,
# dependencies
click,
filelock,
fsspec,
hf-xet,
@@ -14,7 +15,6 @@
packaging,
pyyaml,
tqdm,
typer,
typing-extensions,
# optional-dependencies
@@ -28,6 +28,10 @@
# gradio
gradio,
requests,
# oauth
authlib,
fastapi,
itsdangerous,
# mcp
mcp,
@@ -37,19 +41,20 @@
buildPythonPackage (finalAttrs: {
pname = "huggingface-hub";
version = "1.10.2";
version = "1.23.0";
pyproject = true;
src = fetchFromGitHub {
owner = "huggingface";
repo = "huggingface_hub";
tag = "v${finalAttrs.version}";
hash = "sha256-Q9N0QnxV8oJcxUsJzv4wX8Z6FkNdEfUH5BEVoZolsRY=";
hash = "sha256-Xl9girALcJw7aeLjFd4d/xITS8bTz9xlmziEQwrOdQ0=";
};
build-system = [ setuptools ];
dependencies = [
click
filelock
fsspec
hf-xet
@@ -57,7 +62,6 @@ buildPythonPackage (finalAttrs: {
packaging
pyyaml
tqdm
typer
typing-extensions
];
@@ -65,11 +69,6 @@ buildPythonPackage (finalAttrs: {
all = [
];
torch = [
torch
safetensors
]
++ safetensors.optional-dependencies.torch;
fastai = [
toml
fastai
@@ -85,6 +84,17 @@ buildPythonPackage (finalAttrs: {
mcp = [
mcp
];
oauth = [
authlib
fastapi
httpx
itsdangerous
];
torch = [
torch
safetensors
]
++ safetensors.optional-dependencies.torch;
};
nativeCheckInputs = [