Unverified Commit 4f66edf4 authored by kirillrdy's avatar kirillrdy Committed by GitHub
Browse files

python3Packages.pytensor: 2.36.1 -> 2.36.2 (#476374)

parents ee685995 1cf49cec
Loading
Loading
Loading
Loading
+2 −12
Original line number Diff line number Diff line
@@ -3,7 +3,6 @@
  stdenv,
  buildPythonPackage,
  fetchFromGitHub,
  fetchpatch,

  # build-system
  setuptools,
@@ -34,7 +33,7 @@

buildPythonPackage rec {
  pname = "pytensor";
  version = "2.36.1";
  version = "2.36.2";
  pyproject = true;

  src = fetchFromGitHub {
@@ -44,18 +43,9 @@ buildPythonPackage rec {
    postFetch = ''
      sed -i 's/git_refnames = "[^"]*"/git_refnames = " (tag: ${src.tag})"/' $out/pytensor/_version.py
    '';
    hash = "sha256-rXLtrkuwmEe5+64Aao490VqD96LJ37/mxekWOzWRMlw=";
    hash = "sha256-v6C3LL7ws+K7STqmd4j7/jNnMnnAmEUHzTHKv4446LU=";
  };

  patches = [
    # https://github.com/pymc-devs/pytensor/pull/1805
    (fetchpatch {
      name = "fix-test-tri-nonconcrete-jax-compatibility.patch";
      url = "https://github.com/pymc-devs/pytensor/commit/86310f074267e24d1b3b99ecf3d9cc0b593b170d.patch";
      hash = "sha256-KRywJLixmdDJ1GGYsd5Twjiwgce0ZFxUidhTgM6Obmg=";
    })
  ];

  build-system = [
    setuptools
    cython