py-pymc3: not compatible with numpy 2 (#49225)

This commit is contained in:
Adam J. Stewart 2025-03-01 20:43:05 +01:00 committed by GitHub
parent b22842af56
commit 05c34b7312
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,9 @@ class PyPymc3(PythonPackage):
depends_on("py-setuptools", type="build")
depends_on("py-arviz@0.4.1:", type=("build", "run"))
depends_on("py-theano@1.0.4:", type=("build", "run"))
depends_on("py-numpy@1.13.0:", type=("build", "run"))
# numpy 2 support added in pymc 5.21, pymc3 is the legacy package
# https://github.com/pymc-devs/pymc/pull/7688
depends_on("py-numpy@1.13.0:1", type=("build", "run"))
depends_on("py-scipy@0.18.1:", type=("build", "run"))
depends_on("py-pandas@0.18.0:", type=("build", "run"))
depends_on("py-patsy@0.4.0:", type=("build", "run"))