python3Packages.huggingface-hub: 1.3.2 -> 1.3.3
Diff: https://github.com/huggingface/huggingface_hub/compare/v1.3.2...v1.3.3 Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v1.3.3
This commit is contained in:
committed by
Martin Weinelt
parent
f292ede1b7
commit
57bf2374bb
@@ -13,47 +13,36 @@
|
||||
httpx,
|
||||
packaging,
|
||||
pyyaml,
|
||||
requests,
|
||||
shellingham,
|
||||
tqdm,
|
||||
typer-slim,
|
||||
typing-extensions,
|
||||
|
||||
# optional-dependencies
|
||||
# cli
|
||||
inquirerpy,
|
||||
# inference
|
||||
aiohttp,
|
||||
# torch
|
||||
torch,
|
||||
safetensors,
|
||||
# hf_transfer
|
||||
hf-transfer,
|
||||
# fastai
|
||||
toml,
|
||||
fastai,
|
||||
fastcore,
|
||||
# tensorflow
|
||||
tensorflow,
|
||||
pydot,
|
||||
graphviz,
|
||||
# tensorflow-testing
|
||||
keras,
|
||||
# mcp
|
||||
mcp,
|
||||
|
||||
# tests
|
||||
versionCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "huggingface-hub";
|
||||
version = "1.3.2";
|
||||
version = "1.3.3";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "huggingface";
|
||||
repo = "huggingface_hub";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-G7DkWIjFmNyAyNAfOupncIbDbImITl5Av8r0ibTlDMs=";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-okQ5ZhSb3NcFH68pyhFVYEpphXrc/DHqIFUggjB8tMY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -65,7 +54,6 @@ buildPythonPackage rec {
|
||||
httpx
|
||||
packaging
|
||||
pyyaml
|
||||
requests
|
||||
shellingham
|
||||
tqdm
|
||||
typer-slim
|
||||
@@ -75,38 +63,23 @@ buildPythonPackage rec {
|
||||
optional-dependencies = {
|
||||
all = [
|
||||
|
||||
];
|
||||
cli = [
|
||||
inquirerpy
|
||||
];
|
||||
inference = [
|
||||
aiohttp
|
||||
];
|
||||
torch = [
|
||||
torch
|
||||
safetensors
|
||||
]
|
||||
++ safetensors.optional-dependencies.torch;
|
||||
hf_transfer = [
|
||||
hf-transfer
|
||||
];
|
||||
fastai = [
|
||||
toml
|
||||
fastai
|
||||
fastcore
|
||||
];
|
||||
tensorflow = [
|
||||
tensorflow
|
||||
pydot
|
||||
graphviz
|
||||
];
|
||||
tensorflow-testing = [
|
||||
tensorflow
|
||||
keras
|
||||
];
|
||||
hf_xet = [
|
||||
hf-xet
|
||||
];
|
||||
mcp = [
|
||||
mcp
|
||||
];
|
||||
};
|
||||
|
||||
nativeCheckInputs = [
|
||||
@@ -120,11 +93,11 @@ buildPythonPackage rec {
|
||||
description = "Download and publish models and other files on the huggingface.co hub";
|
||||
mainProgram = "hf";
|
||||
homepage = "https://github.com/huggingface/huggingface_hub";
|
||||
changelog = "https://github.com/huggingface/huggingface_hub/releases/tag/${src.tag}";
|
||||
changelog = "https://github.com/huggingface/huggingface_hub/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [
|
||||
GaetanLepage
|
||||
osbm
|
||||
];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user