diff options
Diffstat (limited to 'pkgs/development/python-modules/huggingface-hub/default.nix')
-rw-r--r-- | pkgs/development/python-modules/huggingface-hub/default.nix | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index 2f0374644d40..9fc7e657468d 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -4,7 +4,6 @@ , pythonOlder , filelock , fsspec -, importlib-metadata , packaging , pyyaml , requests @@ -14,16 +13,16 @@ buildPythonPackage rec { pname = "huggingface-hub"; - version = "0.15.1"; + version = "0.16.4"; format = "setuptools"; - disabled = pythonOlder "3.7"; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "huggingface"; repo = "huggingface_hub"; rev = "refs/tags/v${version}"; - hash = "sha256-q30/oNP1NjyxiJuSfxyjFgciydImMUgPdGJ/tqVtwZk="; + hash = "sha256-fWvEvYiaLiVGmDdfibIHJAsu7nUX+eaE0QGolS3LHO8="; }; propagatedBuildInputs = [ @@ -34,8 +33,6 @@ buildPythonPackage rec { requests tqdm typing-extensions - ] ++ lib.optionals (pythonOlder "3.8") [ - importlib-metadata ]; # Tests require network access. @@ -45,7 +42,7 @@ buildPythonPackage rec { "huggingface_hub" ]; - meta = with lib; { + meta = with lib; { description = "Download and publish models and other files on the huggingface.co hub"; homepage = "https://github.com/huggingface/huggingface_hub"; changelog = "https://github.com/huggingface/huggingface_hub/releases/tag/v${version}"; |