python3Packages.flax: 0.12.2 -> 0.12.6

Diff: https://github.com/google/flax/compare/v0.12.2...v0.12.6

Changelog: https://github.com/google/flax/releases/tag/v0.12.6
This commit is contained in:
Gaetan Lepage
2026-03-24 23:45:50 +00:00
parent ba0656bc50
commit 3de4582d9f
@@ -13,14 +13,12 @@
numpy,
optax,
orbax-checkpoint,
orbax-export,
pyyaml,
rich,
tensorstore,
typing-extensions,
# optional-dependencies
matplotlib,
# tests
cloudpickle,
keras,
@@ -36,16 +34,16 @@
tomlq,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "flax";
version = "0.12.2";
version = "0.12.6";
pyproject = true;
src = fetchFromGitHub {
owner = "google";
repo = "flax";
tag = "v${version}";
hash = "sha256-Wdfc35/iah98C5WNYZWiAd2FJUJlyGLJ8xELpuYD3GU=";
tag = "v${finalAttrs.version}";
hash = "sha256-rIDfF9W8cxF0njH4e4uhqURQ0C4N8Boe76u6meMgC34=";
};
build-system = [
@@ -60,6 +58,7 @@ buildPythonPackage rec {
numpy
optax
orbax-checkpoint
orbax-export
pyyaml
rich
tensorstore
@@ -67,10 +66,6 @@ buildPythonPackage rec {
typing-extensions
];
optional-dependencies = {
all = [ matplotlib ];
};
pythonImportsCheck = [ "flax" ];
nativeCheckInputs = [
@@ -132,8 +127,8 @@ buildPythonPackage rec {
meta = {
description = "Neural network library for JAX";
homepage = "https://github.com/google/flax";
changelog = "https://github.com/google/flax/releases/tag/v${version}";
changelog = "https://github.com/google/flax/releases/tag/${finalAttrs.src.tag}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ ndl ];
};
}
})