Skip to content

Commit

Permalink
python311Packages.pytensor: 2.18.6 -> 2.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
GaetanLepage committed Apr 30, 2024
1 parent 5bc228b commit ad685bb
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions pkgs/development/python-modules/pytensor/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -19,34 +19,33 @@
, pytestCheckHook
, pythonOlder
, tensorflow-probability
, stdenv
}:

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

disabled = pythonOlder "3.9";
disabled = pythonOlder "3.10";

src = fetchFromGitHub {
owner = "pymc-devs";
repo = "pytensor";
rev = "refs/tags/rel-${version}";
hash = "sha256-SMh4wVZwmc87ztFn2OOI234VP3JzmxVMBkn7lYwVu6M=";
hash = "sha256-bvkOMer+zYSsiU4a147eUEZjjUeTVpb9f/hepMZZ3sE=";
};

postPatch = ''
substituteInPlace pyproject.toml \
--replace "versioneer[toml]==0.28" "versioneer[toml]"
'';

nativeBuildInputs = [
build-system = [
cython
versioneer
];

propagatedBuildInputs = [
dependencies = [
cons
etuples
filelock
Expand Down Expand Up @@ -98,6 +97,5 @@ buildPythonPackage rec {
changelog = "https://github.com/pymc-devs/pytensor/releases";
license = licenses.bsd3;
maintainers = with maintainers; [ bcdarwin ferrine ];
broken = (stdenv.isLinux && stdenv.isAarch64);
};
}

0 comments on commit ad685bb

Please sign in to comment.