Commit 3d6866c3 authored by Gaetan Lepage's avatar Gaetan Lepage
Browse files

python3Packages.funsor: fix jax 0.10.0 compatibility

parent 14e819b8
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -49,6 +49,13 @@ buildPythonPackage rec {
    })
  ];

  # TypeError: clip() got an unexpected keyword argument 'a_max'
  postPatch = ''
    substituteInPlace funsor/jax/ops.py \
      --replace-fail "a_max=" "max=" \
      --replace-fail "a_min=" "min="
  '';

  build-system = [ setuptools ];

  dependencies = [