Unverified Commit 7650c5d6 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #254033 from wegank/stanc-bump

stanc, cmdstan: 2.32.2 -> 2.33.1
parents 3551178f 01d8e07d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2,14 +2,14 @@

stdenv.mkDerivation rec {
  pname = "cmdstan";
  version = "2.32.2";
  version = "2.33.1";

  src = fetchFromGitHub {
    owner = "stan-dev";
    repo = pname;
    rev = "v${version}";
    fetchSubmodules = true;
    hash = "sha256-obV+R1ZjBgunXndCNry+MEne1nQawo81IV2DWwYbbIQ=";
    hash = "sha256-c+L/6PjW7YgmXHuKhKjiRofBRAhKYCzFCZ6BOX5AmC4=";
  };

  nativeBuildInputs = [ stanc ];
+2 −2
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

ocamlPackages.buildDunePackage rec {
  pname = "stanc";
  version = "2.32.2";
  version = "2.33.1";

  minimalOCamlVersion = "4.12";
  duneVersion = "3";
@@ -14,7 +14,7 @@ ocamlPackages.buildDunePackage rec {
    owner = "stan-dev";
    repo = "stanc3";
    rev = "v${version}";
    hash = "sha256-dngmZXVb59uV7EugYIZAqE1gk66em7iuzllbbPWK2xk=";
    hash = "sha256-DeQOiYJ5OHIMXcYHTYlObJnxM2Rqf6pSN4T7sAGw+wg=";
  };

  # Error: This expression has type [ `Use_Sys_unix ]
+4 −2
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@
, pandas
, numpy
, tqdm
, stanio
, xarray

, pytestCheckHook
@@ -15,14 +16,14 @@

buildPythonPackage rec {
  pname = "cmdstanpy";
  version = "1.1.0";
  version = "1.2.0";
  format = "setuptools";

  src = fetchFromGitHub {
    owner = "stan-dev";
    repo = "cmdstanpy";
    rev = "refs/tags/v${version}";
    hash = "sha256-9kAd3rbSctWEhAzB6RiQlbg5/uVxGIghYLus8hWzBFQ=";
    hash = "sha256-1/X5JDvCx21qLNamNQXpg+w3d3DdSRlB+liIv2fThs4=";
  };

  patches = [
@@ -41,6 +42,7 @@ buildPythonPackage rec {
    pandas
    numpy
    tqdm
    stanio
  ];

  passthru.optional-dependencies = {
+37 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, pythonOlder
, fetchPypi
, setuptools
, numpy
}:

buildPythonPackage rec {
  pname = "stanio";
  version = "0.3.0";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-DFBK5nG41Sah2nEYWsAqJ3VQj/5tPbkfJC6shbz2BG8=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    numpy
  ];

  pythonImportsCheck = [ "stanio" ];

  meta = with lib; {
    description = "Preparing inputs to and reading outputs from Stan";
    homepage = "https://github.com/WardBrian/stanio";
    license = licenses.bsd3;
    maintainers = with maintainers; [ wegank ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -13281,6 +13281,8 @@ self: super: with self; {
  stack-data = callPackage ../development/python-modules/stack-data { };
  stanio = callPackage ../development/python-modules/stanio { };
  stanza = callPackage ../development/python-modules/stanza { };
  starlette = callPackage ../development/python-modules/starlette {