From 27ad1247998cb7feebde5fe35ec5a3123d2d4145 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Fri, 20 Mar 2026 16:53:51 +0000 Subject: [PATCH] python3Packages.unsloth: 2026.1.3 -> 2026.3.8 Changelog: https://github.com/unslothai/unsloth/releases/tag/2026.3.8 --- pkgs/development/python-modules/unsloth/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/unsloth/default.nix b/pkgs/development/python-modules/unsloth/default.nix index c5e1a8425c41..657f2bbf1a20 100644 --- a/pkgs/development/python-modules/unsloth/default.nix +++ b/pkgs/development/python-modules/unsloth/default.nix @@ -51,16 +51,16 @@ let }; in -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "unsloth"; - version = "2026.1.3"; + version = "2026.3.8"; pyproject = true; # Tags on the GitHub repo don't match src = fetchPypi { pname = "unsloth"; - inherit version; - hash = "sha256-Vq47dKdOyRm+sQmGkfEQ8vM1A1Xq7NwqyE2NGhgyK/s="; + inherit (finalAttrs) version; + hash = "sha256-2HXsaYhsMxNEm6ctKDZDrA9MY/fUKhAo0EPYC5RwBNc="; }; build-system = [ @@ -140,8 +140,8 @@ buildPythonPackage rec { meta = { description = "Finetune Llama 3.3, DeepSeek-R1 & Reasoning LLMs 2x faster with 70% less memory"; homepage = "https://github.com/unslothai/unsloth"; - changelog = "https://github.com/unslothai/unsloth/releases/tag/${version}"; + changelog = "https://github.com/unslothai/unsloth/releases/tag/${finalAttrs.version}"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ hoh ]; }; -} +})