From ba61d33e7026371bdd0bacbfbd327f89aa637197 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Fri, 19 Jun 2026 15:31:30 -0700 Subject: [PATCH] python3Packages.stanza: 1.12.2 -> 1.13.0 Changelog: https://github.com/stanfordnlp/stanza/releases/tag/v1.13.0 This release uses huggingface-hub to download models instead of downloading them over HTTP with the requests library, hence the new dependency (note: huggingface-hub is already a transitive dependency of this package via peft). --- pkgs/development/python-modules/stanza/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/stanza/default.nix b/pkgs/development/python-modules/stanza/default.nix index 8ba3b9f599c6..2c8cde03e1cf 100644 --- a/pkgs/development/python-modules/stanza/default.nix +++ b/pkgs/development/python-modules/stanza/default.nix @@ -6,6 +6,7 @@ setuptools, # dependencies emoji, + huggingface-hub, networkx, numpy, peft, @@ -20,20 +21,21 @@ buildPythonPackage (finalAttrs: { pname = "stanza"; - version = "1.12.2"; + version = "1.13.0"; pyproject = true; src = fetchFromGitHub { owner = "stanfordnlp"; repo = "stanza"; tag = "v${finalAttrs.version}"; - hash = "sha256-hUI8sZDwBK8ZRS9asyDiTqpoIGnGbHeH/Q9i/gasut0="; + hash = "sha256-+quLNaxaGCUpsg3PH11nEMeKjIoHsKaBqK4FdIHlaMM="; }; build-system = [ setuptools ]; dependencies = [ emoji + huggingface-hub networkx numpy peft