Gaetan Lepage
2025-04-23 23:10:44 +02:00
parent 3a29e807b9
commit cce79a76b8
@@ -1,6 +1,5 @@
{
lib,
stdenv,
buildPythonPackage,
fetchFromGitHub,
@@ -39,14 +38,14 @@
buildPythonPackage rec {
pname = "flax";
version = "0.10.5";
version = "0.10.6";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "flax";
tag = "v${version}";
hash = "sha256-8ZJbuPht9vQV52HN7eMqHBaNkzRP4K6K9CSw68vSTys=";
hash = "sha256-HhepJp7y2YN05XcZhB/L08g+yOfTJPRzd2m4ALQJGvw=";
};
build-system = [
@@ -97,16 +96,10 @@ buildPythonPackage rec {
"examples/*"
];
disabledTests =
[
# AssertionError: [Chex] Function 'add' is traced > 1 times!
"PadShardUnpadTest"
]
++ lib.optionals stdenv.hostPlatform.isDarwin [
# SystemError: nanobind::detail::nb_func_error_except(): exception could not be translated!
"test_ref_changed"
"test_structure_changed"
];
disabledTests = [
# AssertionError: [Chex] Function 'add' is traced > 1 times!
"PadShardUnpadTest"
];
passthru = {
updateScript = writeScript "update.sh" ''