Skip to content

Commit ca5fdb9

Browse files
python312Packages.orbax-checkpoint: 0.11.0 -> 0.11.2 (NixOS#377641)
2 parents 3daf7e2 + 60abb75 commit ca5fdb9

File tree

1 file changed

+10
-2
lines changed
  • pkgs/development/python-modules/orbax-checkpoint

1 file changed

+10
-2
lines changed

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

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,21 @@
2727
google-cloud-logging,
2828
mock,
2929
optax,
30+
portpicker,
3031
pytest-xdist,
3132
pytestCheckHook,
3233
}:
3334

3435
buildPythonPackage rec {
3536
pname = "orbax-checkpoint";
36-
version = "0.11.0";
37+
version = "0.11.2";
3738
pyproject = true;
3839

3940
src = fetchFromGitHub {
4041
owner = "google";
4142
repo = "orbax";
4243
tag = "v${version}";
43-
hash = "sha256-pVRXWJfiiqV2ZFM0CgXdwD6/lnRa1HFFPrfS5975mVA=";
44+
hash = "sha256-68mqz+4FJQr/mKR53L5CSenRB0SjV3dbBdtBylFW1y8=";
4445
};
4546

4647
sourceRoot = "${src.name}/checkpoint";
@@ -68,6 +69,7 @@ buildPythonPackage rec {
6869
google-cloud-logging
6970
mock
7071
optax
72+
portpicker
7173
pytest-xdist
7274
pytestCheckHook
7375
];
@@ -85,6 +87,12 @@ buildPythonPackage rec {
8587
];
8688

8789
disabledTestPaths = [
90+
# E absl.flags._exceptions.DuplicateFlagError: The flag 'num_processes' is defined twice.
91+
# First from multiprocess_test, Second from orbax.checkpoint._src.testing.multiprocess_test.
92+
# Description from first occurrence: Number of processes to use.
93+
# https://github.com/google/orbax/issues/1580
94+
"orbax/checkpoint/experimental/emergency/"
95+
8896
# Circular dependency flax
8997
"orbax/checkpoint/_src/metadata/empty_values_test.py"
9098
"orbax/checkpoint/_src/metadata/tree_rich_types_test.py"

0 commit comments

Comments
 (0)