Merge pull request #176349 from fabaff/aesara-bump

python310Packages.aesara: 2.6.6 -> 2.7.1, python310Packages.pymc: unstable-2022-05-23 -> 4.0.0
This commit is contained in:
Fabian Affolter 2022-06-05 17:35:06 +02:00 committed by GitHub
commit 1f6e68ebae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 11 deletions

View File

@ -42,6 +42,11 @@ buildPythonPackage rec {
"aeppl"
];
disabledTests = [
# Compute issue
"test_initial_values"
];
meta = with lib; {
description = "Library for an Aesara-based PPL";
homepage = "https://github.com/aesara-devs/aeppl";

View File

@ -19,7 +19,7 @@
buildPythonPackage rec {
pname = "aesara";
version = "2.6.6";
version = "2.7.1";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -28,7 +28,7 @@ buildPythonPackage rec {
owner = "aesara-devs";
repo = "aesara";
rev = "refs/tags/rel-${version}";
hash = "sha256-ChLMQCXw9EBR0hnNYGdkUbiLF+4oCqOxzsKsnsf22Jk=";
hash = "sha256-qjAaW7YYmzGBNpc8T5RyOdP5evkKOdzUGzQ9JXKioxw=";
};
nativeBuildInputs = [

View File

@ -9,24 +9,29 @@
, fetchFromGitHub
, numpy
, pythonOlder
, pythonRelaxDepsHook
, scipy
, typing-extensions
}:
buildPythonPackage rec {
pname = "pymc3";
version = "unstable-2022-05-23";
pname = "pymc";
version = "4.0.0";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "pymc-devs";
repo = "pymc3";
rev = "b5a5b569779673914c9420c1cc0135b118505ff5";
hash = "sha256-vkIFwdjX2Rex8oqscVMP4xh0K4bjmN/RL7aQmOI//Dw=";
repo = "pymc";
rev = "v${version}";
hash = "sha256-ZMuDQJ+bmrQlrem/OqU/hIie3ZQkAqayU3N8ZtaW7xo=";
};
nativeBuildInputs = [
pythonRelaxDepsHook
];
propagatedBuildInputs = [
aeppl
aesara
@ -42,11 +47,13 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace ', "pytest-cov"' ""
substituteInPlace requirements.txt \
--replace "aesara==2.6.2" "aesara" \
--replace "aeppl==0.0.28" "aeppl"
'';
pythonRelaxDeps = [
"aesara"
"aeppl"
];
# The test suite is computationally intensive and test failures are not
# indicative for package usability hence tests are disabled by default.
doCheck = false;

View File

@ -112,6 +112,7 @@ mapAliases ({
pyGtkGlade = throw "Glade support for pygtk has been removed"; # added 2022-01-15
pycallgraph = throw "pycallgraph has been removed, it was using setuptools 2to3 translation feature, which has been removed in setuptools 58"; # added 2022-01-18
pylibgen = throw "pylibgen is unmaintained upstreamed, and removed from nixpkgs"; # added 2020-06-20
pymc3 = pymc; # added 2022-06-05, module was rename starting with 4.0.0
pymssql = throw "pymssql has been abandoned upstream."; # added 2020-05-04
pyreadability = readability-lxml; # added 2022-05-24
pysmart-smartx = pysmart; # added 2021-10-22

View File

@ -7606,7 +7606,7 @@ in {
pymbolic = callPackage ../development/python-modules/pymbolic { };
pymc3 = callPackage ../development/python-modules/pymc3 { };
pymc = callPackage ../development/python-modules/pymc { };
pymdstat = callPackage ../development/python-modules/pymdstat { };