python3Packages.orbax-checkpoint: 0.11.13 -> 0.11.14 (#415504)

This commit is contained in:
Gaétan Lepage 2025-06-10 13:06:36 +02:00 committed by GitHub
commit 7a6dddc1aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,14 +35,14 @@
buildPythonPackage rec {
pname = "orbax-checkpoint";
version = "0.11.13";
version = "0.11.14";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "orbax";
tag = "v${version}";
hash = "sha256-qmq0Kz8wXUFFE4CqsdFwKXAIvysFbv7JomQSrNj1QCc=";
hash = "sha256-qZfC3rqfESfXdL/TMXodrJnM1/dQs9adDHM9DS0QlZ4=";
};
sourceRoot = "${src.name}/checkpoint";
@ -85,12 +85,19 @@ buildPythonPackage rec {
"orbax.checkpoint"
];
disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
# Probably failing because of a filesystem impurity
# self.assertFalse(os.path.exists(dst_dir))
# AssertionError: True is not false
"test_create_snapshot"
];
disabledTests =
[
# Flaky
# AssertionError: 2 not greater than 2.0046136379241943
"test_async_mkdir_parallel"
"test_async_mkdir_sequential"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# Probably failing because of a filesystem impurity
# self.assertFalse(os.path.exists(dst_dir))
# AssertionError: True is not false
"test_create_snapshot"
];
disabledTestPaths = [
# E absl.flags._exceptions.DuplicateFlagError: The flag 'num_processes' is defined twice.
@ -105,6 +112,7 @@ buildPythonPackage rec {
"orbax/checkpoint/_src/metadata/tree_test.py"
"orbax/checkpoint/_src/testing/test_tree_utils.py"
"orbax/checkpoint/_src/tree/parts_of_test.py"
"orbax/checkpoint/_src/tree/structure_utils_test.py"
"orbax/checkpoint/_src/tree/utils_test.py"
"orbax/checkpoint/single_host_test.py"
"orbax/checkpoint/transform_utils_test.py"