From ea364022927a6056b6a6c2d04e8edf0ef8a2e221 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 4 Mar 2026 20:49:26 +0000 Subject: [PATCH 1/2] python3Packages.huggingface-hub: 1.4.1 -> 1.5.0 Diff: https://github.com/huggingface/huggingface_hub/compare/v1.4.1...v1.5.0 Changelog: https://github.com/huggingface/huggingface_hub/releases/tag/v1.5.0 --- .../python-modules/huggingface-hub/default.nix | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/pkgs/development/python-modules/huggingface-hub/default.nix b/pkgs/development/python-modules/huggingface-hub/default.nix index ea110609e84d..f27ff8c7af56 100644 --- a/pkgs/development/python-modules/huggingface-hub/default.nix +++ b/pkgs/development/python-modules/huggingface-hub/default.nix @@ -13,7 +13,6 @@ httpx, packaging, pyyaml, - shellingham, tqdm, typer, typing-extensions, @@ -35,21 +34,16 @@ buildPythonPackage (finalAttrs: { pname = "huggingface-hub"; - version = "1.4.1"; + version = "1.5.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "huggingface_hub"; tag = "v${finalAttrs.version}"; - hash = "sha256-At3FN+dplQ3L9B4vDZrEvREdwgepUvzWC7yeU6L5XY8="; + hash = "sha256-XuqZvTu3DuncGpRWXipxtDLY2alY7QVm89ZmpgTdfVo="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace-fail "typer-slim" "typer" - ''; - build-system = [ setuptools ]; dependencies = [ @@ -59,7 +53,6 @@ buildPythonPackage (finalAttrs: { httpx packaging pyyaml - shellingham tqdm typer typing-extensions From e9e4e359ac132ed3b6b38768c66f8d6bcbbd0a9f Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 4 Mar 2026 20:48:43 +0000 Subject: [PATCH 2/2] python3Packages.transformers: 5.2.0 -> 5.3.0 Diff: https://github.com/huggingface/transformers/compare/v5.2.0...v5.3.0 Changelog: https://github.com/huggingface/transformers/releases/tag/v5.3.0 --- pkgs/development/python-modules/transformers/default.nix | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pkgs/development/python-modules/transformers/default.nix b/pkgs/development/python-modules/transformers/default.nix index e3f1050f8f45..96b532d2e57d 100644 --- a/pkgs/development/python-modules/transformers/default.nix +++ b/pkgs/development/python-modules/transformers/default.nix @@ -93,21 +93,16 @@ buildPythonPackage (finalAttrs: { pname = "transformers"; - version = "5.2.0"; + version = "5.3.0"; pyproject = true; src = fetchFromGitHub { owner = "huggingface"; repo = "transformers"; tag = "v${finalAttrs.version}"; - hash = "sha256-vus4Y+1QXUNqwBO1ZK0gWd+sJBPwrqWW7O2sn0EBvno="; + hash = "sha256-5FzsPIG4dFTR2WgcZbdmVwwwY9Dkqu5aprl5uIIalD0="; }; - postPatch = '' - substituteInPlace setup.py \ - --replace-fail "typer-slim" "typer" - ''; - build-system = [ setuptools ]; dependencies = [