Skip to content

Commit 44f7b5e

Browse files
authored
python3Packages.orbax-checkpoint: 0.11.30 -> 0.11.33 (NixOS#499410)
2 parents 65b8a0d + 4c245cd commit 44f7b5e

1 file changed

Lines changed: 14 additions & 10 deletions

File tree

  • pkgs/development/python-modules/orbax-checkpoint

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

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,20 @@
1414
humanize,
1515
jax,
1616
msgpack,
17-
nest-asyncio,
1817
numpy,
1918
protobuf,
2019
psutil,
2120
pyyaml,
2221
simplejson,
2322
tensorstore,
2423
typing-extensions,
24+
uvloop,
2525

2626
# tests
2727
chex,
28+
fastapi,
2829
google-cloud-logging,
30+
httpx,
2931
mock,
3032
optax,
3133
portpicker,
@@ -35,19 +37,19 @@
3537
torch,
3638
}:
3739

38-
buildPythonPackage rec {
40+
buildPythonPackage (finalAttrs: {
3941
pname = "orbax-checkpoint";
40-
version = "0.11.30";
42+
version = "0.11.33";
4143
pyproject = true;
4244

4345
src = fetchFromGitHub {
4446
owner = "google";
4547
repo = "orbax";
46-
tag = "v${version}";
47-
hash = "sha256-y8l0AVGt2t5zLX+x+yuWHsEDy68agpXIkrew+zfYGXU=";
48+
tag = "v${finalAttrs.version}";
49+
hash = "sha256-ibHV+MwQvlh2USeDVAUWEJxCS1MGuPZRnZZTBWFO7UQ=";
4850
};
4951

50-
sourceRoot = "${src.name}/checkpoint";
52+
sourceRoot = "${finalAttrs.src.name}/checkpoint";
5153

5254
build-system = [ flit-core ];
5355

@@ -58,21 +60,23 @@ buildPythonPackage rec {
5860
humanize
5961
jax
6062
msgpack
61-
nest-asyncio
6263
numpy
6364
protobuf
6465
psutil
6566
pyyaml
6667
simplejson
6768
tensorstore
6869
typing-extensions
70+
uvloop
6971
]
7072
++ etils.optional-dependencies.epath
7173
++ etils.optional-dependencies.epy;
7274

7375
nativeCheckInputs = [
7476
chex
77+
fastapi
7578
google-cloud-logging
79+
httpx
7680
mock
7781
optax
7882
portpicker
@@ -81,7 +85,6 @@ buildPythonPackage rec {
8185
safetensors
8286
torch
8387
];
84-
8588
pythonImportsCheck = [
8689
"orbax"
8790
"orbax.checkpoint"
@@ -156,13 +159,14 @@ buildPythonPackage rec {
156159
"orbax/checkpoint/checkpoint_manager_test.py"
157160
"orbax/checkpoint/single_host_test.py"
158161
"orbax/checkpoint/transform_utils_test.py"
162+
"orbax/checkpoint/_src/handlers/pytree_checkpoint_handler_test.py"
159163
];
160164

161165
meta = {
162166
description = "Orbax provides common utility libraries for JAX users";
163167
homepage = "https://github.com/google/orbax/tree/main/checkpoint";
164-
changelog = "https://github.com/google/orbax/blob/v${version}/checkpoint/CHANGELOG.md";
168+
changelog = "https://github.com/google/orbax/blob/v${finalAttrs.version}/checkpoint/CHANGELOG.md";
165169
license = lib.licenses.asl20;
166170
maintainers = with lib.maintainers; [ fab ];
167171
};
168-
}
172+
})

0 commit comments

Comments
 (0)