From 6d3cac67d50669829d80b9bf83156e6d2c45c7ed Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 28 Apr 2025 19:34:52 +0200 Subject: [PATCH] python312Packages.llguidance: 0.7.11 -> 0.7.19 Diff: https://github.com/guidance-ai/llguidance/compare/refs/tags/v0.7.11...refs/tags/v0.7.19 Changelog: https://github.com/guidance-ai/llguidance/blob/v0.7.19/CHANGELOG.md --- .../python-modules/llguidance/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/llguidance/default.nix b/pkgs/development/python-modules/llguidance/default.nix index 19d2d2253b79..578f9ddeb45f 100644 --- a/pkgs/development/python-modules/llguidance/default.nix +++ b/pkgs/development/python-modules/llguidance/default.nix @@ -23,19 +23,19 @@ buildPythonPackage rec { pname = "llguidance"; - version = "0.7.11"; + version = "0.7.19"; pyproject = true; src = fetchFromGitHub { owner = "guidance-ai"; repo = "llguidance"; tag = "v${version}"; - hash = "sha256-d0xwBaWiBBlPrKHpDKDBINBGU+PCfpfnL4FOxNmFvG8="; + hash = "sha256-tfTiut8jiGGf2uQLGcC4ieNf4ePFauJZL6vNbWie078="; }; cargoDeps = rustPlatform.fetchCargoVendor { inherit src; - hash = "sha256-UeBgYMYFAVSa6QQIqZ2iY+xIRxQdFBetZ7dIalim+FQ="; + hash = "sha256-I1sjkZgtsBpPVkGL596TjLi9txRmgP5oTIWaM1K5I1E="; }; build-system = [ @@ -75,8 +75,11 @@ buildPythonPackage rec { [ # Require internet access (https://huggingface.co) "test_grammar" - "test_par_grammar" + "test_incomplete_tokenizer" "test_par_errors" + "test_par_grammar" + "test_tokenize_partial_basic" + "test_tokenize_partial_docs" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ # torch._inductor.exc.CppCompileError: C++ compile error @@ -95,6 +98,7 @@ buildPythonPackage rec { meta = { description = "Super-fast Structured Outputs"; homepage = "https://github.com/guidance-ai/llguidance"; + changelog = "https://github.com/guidance-ai/llguidance/blob/v${version}/CHANGELOG.md"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ GaetanLepage ]; };