From 1974540458dedf8404819114becd34cf5d03dc46 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Mon, 7 Oct 2024 17:28:01 +0200 Subject: [PATCH] python312Packages.orbax-checkpoint: 0.6.4 -> 0.10.2 Diff: https://github.com/google/orbax/compare/refs/tags/v0.6.4...v0.10.2 Changelog: https://github.com/google/orbax/releases/tag/v0.10.2 --- .../python-modules/orbax-checkpoint/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/orbax-checkpoint/default.nix b/pkgs/development/python-modules/orbax-checkpoint/default.nix index 511542d0a49028..36d319249e9a6e 100644 --- a/pkgs/development/python-modules/orbax-checkpoint/default.nix +++ b/pkgs/development/python-modules/orbax-checkpoint/default.nix @@ -19,6 +19,7 @@ numpy, protobuf, pyyaml, + simplejson, tensorstore, typing-extensions, @@ -32,14 +33,14 @@ buildPythonPackage rec { pname = "orbax-checkpoint"; - version = "0.6.4"; + version = "0.10.3"; pyproject = true; src = fetchFromGitHub { owner = "google"; repo = "orbax"; - rev = "refs/tags/v${version}"; - hash = "sha256-xd75/AKBFUdA6a8sQnCB2rVbHl/Foy4LTb07jnwrTjA="; + tag = "v${version}"; + hash = "sha256-BTg4kUz5jfoK2uR/deqqJb8PYoj+FfkuoMZAeSjKKnA="; }; sourceRoot = "${src.name}/checkpoint"; @@ -58,6 +59,7 @@ buildPythonPackage rec { numpy protobuf pyyaml + simplejson tensorstore typing-extensions ]; @@ -91,7 +93,7 @@ buildPythonPackage rec { meta = { description = "Orbax provides common utility libraries for JAX users"; homepage = "https://github.com/google/orbax/tree/main/checkpoint"; - changelog = "https://github.com/google/orbax/releases/tag/v${version}"; + changelog = "https://github.com/google/orbax/blob/${src.tag}/checkpoint/CHANGELOG.md"; license = lib.licenses.asl20; maintainers = with lib.maintainers; [ fab ]; };