Skip to content

Commit 25991f0

Browse files
authored
python312Packages.orbax-checkpoint: 0.6.4 -> 0.10.2 (#347112)
2 parents 8592c69 + 8fcee6f commit 25991f0

File tree

2 files changed

+27
-19
lines changed

2 files changed

+27
-19
lines changed

pkgs/development/python-modules/orbax-checkpoint/default.nix

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,35 @@
1111
# dependencies
1212
etils,
1313
humanize,
14-
importlib-resources,
1514
jax,
16-
jaxlib,
1715
msgpack,
1816
nest-asyncio,
1917
numpy,
2018
protobuf,
2119
pyyaml,
20+
simplejson,
2221
tensorstore,
2322
typing-extensions,
2423

2524
# tests
2625
chex,
2726
google-cloud-logging,
2827
mock,
28+
optax,
2929
pytest-xdist,
3030
pytestCheckHook,
3131
}:
3232

3333
buildPythonPackage rec {
3434
pname = "orbax-checkpoint";
35-
version = "0.6.4";
35+
version = "0.10.3";
3636
pyproject = true;
3737

3838
src = fetchFromGitHub {
3939
owner = "google";
4040
repo = "orbax";
41-
rev = "refs/tags/v${version}";
42-
hash = "sha256-xd75/AKBFUdA6a8sQnCB2rVbHl/Foy4LTb07jnwrTjA=";
41+
tag = "v${version}";
42+
hash = "sha256-BTg4kUz5jfoK2uR/deqqJb8PYoj+FfkuoMZAeSjKKnA=";
4343
};
4444

4545
sourceRoot = "${src.name}/checkpoint";
@@ -50,14 +50,13 @@ buildPythonPackage rec {
5050
absl-py
5151
etils
5252
humanize
53-
importlib-resources
5453
jax
55-
jaxlib
5654
msgpack
5755
nest-asyncio
5856
numpy
5957
protobuf
6058
pyyaml
59+
simplejson
6160
tensorstore
6261
typing-extensions
6362
];
@@ -66,6 +65,7 @@ buildPythonPackage rec {
6665
chex
6766
google-cloud-logging
6867
mock
68+
optax
6969
pytest-xdist
7070
pytestCheckHook
7171
];
@@ -84,14 +84,19 @@ buildPythonPackage rec {
8484

8585
disabledTestPaths = [
8686
# Circular dependency flax
87+
"orbax/checkpoint/_src/metadata/empty_values_test.py"
88+
"orbax/checkpoint/_src/metadata/tree_rich_types_test.py"
89+
"orbax/checkpoint/_src/metadata/tree_test.py"
90+
"orbax/checkpoint/_src/testing/test_tree_utils.py"
91+
"orbax/checkpoint/_src/tree/utils_test.py"
92+
"orbax/checkpoint/single_host_test.py"
8793
"orbax/checkpoint/transform_utils_test.py"
88-
"orbax/checkpoint/utils_test.py"
8994
];
9095

9196
meta = {
9297
description = "Orbax provides common utility libraries for JAX users";
9398
homepage = "https://github.com/google/orbax/tree/main/checkpoint";
94-
changelog = "https://github.com/google/orbax/releases/tag/v${version}";
99+
changelog = "https://github.com/google/orbax/blob/v${version}/checkpoint/CHANGELOG.md";
95100
license = lib.licenses.asl20;
96101
maintainers = with lib.maintainers; [ fab ];
97102
};

pkgs/development/python-modules/tensorstore/default.nix

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,23 @@ let
1717
"aarch64-darwin" = "macosx_11_0_arm64";
1818
};
1919
hashes = {
20-
"310-x86_64-linux" = "sha256-oB68FjYzmRARWpbajQuLpAzWwg9CCji4tLZRFCsztjk=";
21-
"311-x86_64-linux" = "sha256-kGEecBu7b3TFGUIRirI9q2W3nipiQwsh/1OB92RqDB4=";
22-
"312-x86_64-linux" = "sha256-Vw8sT5kahSN20BQs3MOYesSUZqk4CuvfZR1z5nAO7g8=";
23-
"310-aarch64-linux" = "sha256-Ocfg3VArM/14a06cpMuJDYP/MIo9rCvtFO4Cd3AahA4=";
24-
"311-aarch64-linux" = "sha256-hegFeV3m0jpjTXNU6ue/3kGe1Cy+Pfeh4GDe96dvL7o=";
25-
"312-aarch64-linux" = "sha256-O0VVtSqSEd4dqjmaXMTRvf/Bcc9YR7zzbz9N/8GVcXk=";
26-
"310-aarch64-darwin" = "sha256-2vuVxmJMx/GeaHgzUS6rRdysQFHreVzZ5IT5YSDUJro=";
27-
"311-aarch64-darwin" = "sha256-0xRVDSDE9upz2yU7mzpa3Y6l6M5FWOMAPKWBC8eY3Eo=";
28-
"312-aarch64-darwin" = "sha256-i2TmLOl2aHD5iyzF6YpjbHKFmBGPx5ixPYyNKKQfRNM=";
20+
"310-x86_64-linux" = "sha256-GmzcxS5LhB0j5Qovoo4Bbm2fYdbqkYjUVV6hibBAoPY=";
21+
"311-x86_64-linux" = "sha256-NzVYuAPYwsV/xhOxEAeuWBOfGaPN3UQ6DeXXtTIeWWE=";
22+
"312-x86_64-linux" = "sha256-ztVDC836f8s6a9xEczF2FYy4d7Nb3SM8rILiW0zJTpI=";
23+
"313-x86_64-linux" = "sha256-UrVG8Hayw78hfGDwXeQSTMEZfOkvjoJufsc64yQHSlo=";
24+
"310-aarch64-linux" = "sha256-lQQbVaLshtH2aQUS0Yg1gbGPL09Gw9l4lK6wrC22r38=";
25+
"311-aarch64-linux" = "sha256-ZcOhoqNaG1N0A/NkA9JYyqtHflZLwPZBCblBzHe08gM=";
26+
"312-aarch64-linux" = "sha256-h6l6NLBHXdx9KvxA5d1/jRJSKqge37zMs5Yoz1kUVNU=";
27+
"313-aarch64-linux" = "sha256-YnbiebRetdm5XE3z55ViVfQU/UsSjS3hbYrs3obDY1c";
28+
"310-aarch64-darwin" = "sha256-uWG7u3ocakjkwUBqmMrr60AEYeLnWgi23wwBMpQDehU=";
29+
"311-aarch64-darwin" = "sha256-9A5zvNwzPfs/f+D88CO8vsQVM8mFZldxj/duzhoZAuA=";
30+
"312-aarch64-darwin" = "sha256-06JP62GV8cIiFillwBB8n/VtMizKI+GfDmZjb264DxQ=";
31+
"313-aarch64-darwin" = "sha256-3ohD+zRiiZ3nvN7qzLkjA6nWEAa8NjZN60qI30YyC6Q=";
2932
};
3033
in
3134
buildPythonPackage rec {
3235
pname = "tensorstore";
33-
version = "0.1.65";
36+
version = "0.1.71";
3437
format = "wheel";
3538

3639
# The source build involves some wonky Bazel stuff.

0 commit comments

Comments
 (0)