python310Packages.pymc: unstable-2022-05-23 -> 4.0.0
- rename to pymc - use pythonRelaxDepsHook
This commit is contained in:
parent
63f15db529
commit
125e150cd2
3 changed files with 17 additions and 9 deletions
|
@ -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;
|
|
@ -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
|
||||
|
|
|
@ -7570,7 +7570,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 { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue