Skip to content

Switch PyMC3 to PyMC (which is the new name starting from PyMC v4.0.0)

Matthew Pitkin requested to merge matthew-pitkin/bilby:pymc3_to_pymc4 into master

This MR updates the PyMC3 interface to use the new version of PyMC, which is now v4.0.0 (the version number suffix has been dropped). This is mainly a very straightforward port by replacing imports of pymc3 with pymc. The Theano library has also been renamed to aesara, so those are changed too.

The test suite runs and also the two examples, linear_regression_pymc.py and linear_regression_pymc_custom_likelihood.py, both work exactly as expected.

Merge request reports