Unverified Commit 6561ba5f authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.numpyro: 0.19.0 -> 0.20.0 (#485735)

parents 26d1dcd0 32d2ba3f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -23,14 +23,14 @@

buildPythonPackage (finalAttrs: {
  pname = "flowjax";
  version = "17.2.1";
  version = "18.0.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "danielward27";
    repo = "flowjax";
    tag = "v${finalAttrs.version}";
    hash = "sha256-ghK3CxBlybajsvhjzjyDapUC71JwMz+njHn4hAztVUM=";
    hash = "sha256-c7KuU5SQe3NIkcYCRHJXk2dkAWUXp6l37nci5qX1s38=";
  };

  build-system = [
+9 −6
Original line number Diff line number Diff line
@@ -28,16 +28,16 @@
  tensorflow-probability,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "numpyro";
  version = "0.19.0";
  version = "0.20.0";
  pyproject = true;

  src = fetchFromGitHub {
    owner = "pyro-ppl";
    repo = "numpyro";
    tag = version;
    hash = "sha256-3kzaINsz1Mjk97ERQsQIYIBz7CVmXtVDn0edJFMHQWs=";
    tag = finalAttrs.version;
    hash = "sha256-lMga+mPQEh6RCeqXKa2KELR6RcksKJ/K32h7X7a1IcQ=";
  };

  build-system = [ setuptools ];
@@ -102,6 +102,9 @@ buildPythonPackage rec {

    # ValueError: compiling computation that requires 2 logical devices, but only 1 XLA devices are available (num_replicas=2)
    "test_chain"

    # Failed: DID NOT RAISE <class 'UserWarning'>
    "test_interval_censored_validate_sample"
  ]
  ++ lib.optionals stdenv.hostPlatform.isDarwin [
    # AssertionError: Not equal to tolerance rtol=0.06, atol=0
@@ -116,8 +119,8 @@ buildPythonPackage rec {
  meta = {
    description = "Library for probabilistic programming with NumPy";
    homepage = "https://num.pyro.ai/";
    changelog = "https://github.com/pyro-ppl/numpyro/releases/tag/${version}";
    changelog = "https://github.com/pyro-ppl/numpyro/releases/tag/${finalAttrs.src.tag}";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [ fab ];
  };
}
})