Unverified Commit 1f0a12d3 authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.flax: 0.10.5 -> 0.10.6 (#401226)

parents 574d68b0 cce79a76
Loading
Loading
Loading
Loading
+6 −13
Original line number Diff line number Diff line
{
  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,15 +96,9 @@ buildPythonPackage rec {
    "examples/*"
  ];

  disabledTests =
    [
  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"
  ];

  passthru = {