Fix PyMC3 after deprecation of step_kwargs and nuts_kwargs
Compare changes
Maintenance will be performed on git.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22 April 2025 starting at approximately 9am PDT. It is expected to take around 30 minutes and there will be several periods of downtime throughout the maintenance. Please address any comments, concerns, or questions to the helpdesk. This maintenance will be upgrading the GitLab database in order to be ready for the migration.
The new release of PyMC3 (v3.9) has completely removed the nuts_kwargs
and step_kwargs
options, which breaks the test suite. This MR allows the PyMC3 implementation in bilby to work for version before and after 3.9.
Refs !811 (merged).