Unverified Commit 54bf4834 authored by Pol Dellaiera's avatar Pol Dellaiera Committed by GitHub
Browse files

Merge pull request #311646 from GaetanLepage/pytensor

python311Packages.pytensor: 2.20.0 -> 2.22.1, python311Packages.pymc: 5.15.0 -> 5.15.1
parents c1b521ad 07793378
Loading
Loading
Loading
Loading
+7 −5
Original line number Diff line number Diff line
@@ -12,12 +12,13 @@
  rich,
  scipy,
  setuptools,
  threadpoolctl,
  typing-extensions,
}:

buildPythonPackage rec {
  pname = "pymc";
  version = "5.15.0";
  version = "5.15.1";
  pyproject = true;

  disabled = pythonOlder "3.10";
@@ -26,7 +27,7 @@ buildPythonPackage rec {
    owner = "pymc-devs";
    repo = "pymc";
    rev = "refs/tags/v${version}";
    hash = "sha256-9AqnJOm0yQOOoksg1lpI4EcduU5xDjnIplOzVJIwQFo=";
    hash = "sha256-wVz/sn9XbbYMAfClRBx6iK9+UKzy5e2oyH5ABGfNCIM=";
  };

  postPatch = ''
@@ -45,6 +46,7 @@ buildPythonPackage rec {
    pytensor
    rich
    scipy
    threadpoolctl
    typing-extensions
  ];

@@ -54,12 +56,12 @@ buildPythonPackage rec {

  pythonImportsCheck = [ "pymc" ];

  meta = with lib; {
  meta = {
    description = "Bayesian estimation, particularly using Markov chain Monte Carlo (MCMC)";
    homepage = "https://github.com/pymc-devs/pymc";
    changelog = "https://github.com/pymc-devs/pymc/releases/tag/v${version}";
    license = licenses.asl20;
    maintainers = with maintainers; [
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [
      nidabdella
      ferrine
    ];
+5 −6
Original line number Diff line number Diff line
@@ -15,7 +15,6 @@
  jax,
  jaxlib,
  numba,
  numba-scipy,
  pytest-mock,
  pytestCheckHook,
  pythonOlder,
@@ -24,7 +23,7 @@

buildPythonPackage rec {
  pname = "pytensor";
  version = "2.20.0";
  version = "2.22.1";
  pyproject = true;

  disabled = pythonOlder "3.10";
@@ -33,7 +32,7 @@ buildPythonPackage rec {
    owner = "pymc-devs";
    repo = "pytensor";
    rev = "refs/tags/rel-${version}";
    hash = "sha256-bvkOMer+zYSsiU4a147eUEZjjUeTVpb9f/hepMZZ3sE=";
    hash = "sha256-FG95+3g+DcqQkyJX3PavfyUWTINFLrgAPTaHYN/jk90=";
  };

  postPatch = ''
@@ -88,13 +87,13 @@ buildPythonPackage rec {
    "tests/sparse/sandbox/"
  ];

  meta = with lib; {
  meta = {
    description = "Python library to define, optimize, and efficiently evaluate mathematical expressions involving multi-dimensional arrays";
    mainProgram = "pytensor-cache";
    homepage = "https://github.com/pymc-devs/pytensor";
    changelog = "https://github.com/pymc-devs/pytensor/releases";
    license = licenses.bsd3;
    maintainers = with maintainers; [
    license = lib.licenses.bsd3;
    maintainers = with lib.maintainers; [
      bcdarwin
      ferrine
    ];