python311Packages.flax 0 -> 1 attrpath: python311Packages.flax Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/mwcalfai8zm2ngks1zynxxc86ia6sf3b-packages.json.drv building '/nix/store/mwcalfai8zm2ngks1zynxxc86ia6sf3b-packages.json.drv'... Going to be running update for following packages: - python3.11-flax-0.7.5 Press Enter key to continue... Running update for: - python3.11-flax-0.7.5: UPDATING ... - python3.11-flax-0.7.5: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/flax/default.nix b/pkgs/development/python-modules/flax/default.nix index b906ba9d4322..60324850cb2e 100644 --- a/pkgs/development/python-modules/flax/default.nix +++ b/pkgs/development/python-modules/flax/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { pname = "flax"; - version = "0.7.5"; + version = "0.8.2"; pyproject = true; disabled = pythonOlder "3.8"; @@ -34,7 +34,7 @@ buildPythonPackage rec { owner = "google"; repo = "flax"; rev = "refs/tags/v${version}"; - hash = "sha256-NDah0ayQbiO1/sTU1DDf/crPq5oLTnSuosV7cFHlTM8="; + hash = "sha256-UABgJGe1grUSkwOJpjeIoFqhXsqG//HlC1YyYPxXV+g="; }; nativeBuildInputs = [ No auto update branch exists Old version 0.7.5" not present in staging derivation file with contents: { lib , buildPythonPackage , cloudpickle , einops , fetchFromGitHub , jax , jaxlib , keras , matplotlib , msgpack , numpy , optax , orbax-checkpoint , pytest-xdist , pytestCheckHook , pythonOlder , pythonRelaxDepsHook , pyyaml , rich , setuptools-scm , tensorflow , tensorstore , typing-extensions }: buildPythonPackage rec { pname = "flax"; version = "0.8.1"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "google"; repo = "flax"; rev = "refs/tags/v${version}"; hash = "sha256-3UzMSJoKw+V1WLBJ+Zf7aF7CDNBsvWnRUfNgb3K4v1A="; }; nativeBuildInputs = [ jaxlib pythonRelaxDepsHook setuptools-scm ]; propagatedBuildInputs = [ jax msgpack numpy optax orbax-checkpoint pyyaml rich tensorstore typing-extensions ]; passthru.optional-dependencies = { all = [ matplotlib ]; }; pythonImportsCheck = [ "flax" ]; nativeCheckInputs = [ cloudpickle einops keras pytest-xdist pytestCheckHook tensorflow ]; pytestFlagsArray = [ "-W ignore::FutureWarning" "-W ignore::DeprecationWarning" ]; disabledTestPaths = [ # Docs test, needs extra deps + we're not interested in it. "docs/_ext/codediff_test.py" # The tests in `examples` are not designed to be executed from a single test # session and thus either have the modules that conflict with each other or # wrong import paths, depending on how they're invoked. Many tests also have # dependencies that are not packaged in `nixpkgs` (`clu`, `jgraph`, # `tensorflow_datasets`, `vocabulary`) so the benefits of trying to run them # would be limited anyway. "examples/*" # See https://github.com/google/flax/issues/3232. "tests/jax_utils_test.py" # Requires tree "tests/tensorboard_test.py" ]; disabledTests = [ # ValueError: Checkpoint path should be absolute "test_overwrite_checkpoints0" ]; meta = with lib; { description = "Neural network library for JAX"; homepage = "https://github.com/google/flax"; changelog = "https://github.com/google/flax/releases/tag/v${version}"; license = licenses.asl20; maintainers = with maintainers; [ ndl ]; }; }