JohannesBuchner / PyMultiNest

Pythonic Bayesian inference and visualization for the MultiNest Nested Sampling Algorithm and PyCuba's cubature algorithms.
http://johannesbuchner.github.io/PyMultiNest/
Other
191 stars 87 forks source link

pypi version of Pymultinest breaks #237

Closed pcubillos closed 11 months ago

pcubillos commented 12 months ago

Hi, Now that inspect.getargspec has been removed in Python 3.11, the pypi version of PyMultiNest breaks in these lines because it doesn't have the if statement that implements inspect.getfullargspec() from the current github version. https://github.com/JohannesBuchner/PyMultiNest/blob/c8eba95ecc9583c6662e868e74bbd9992b71a787/pymultinest/run.py#L211-L215

JohannesBuchner commented 12 months ago

So I just have to make a release?

pcubillos commented 12 months ago

Yup, exactly. Thanks!

JohannesBuchner commented 12 months ago

In case you are wondering why I have not done this yet, I re-added continuous integration. PyMultiNest used to have travis, before they shut down open source repos. Now I added a github action: https://github.com/JohannesBuchner/PyMultiNest/actions

Open problems:

JohannesBuchner commented 12 months ago

CI is green, can you believe it!

pcubillos commented 12 months ago

Great! Yeah, I know how painful the move from travis to github actions can get

JohannesBuchner commented 12 months ago

2.12 is on pypi, please test it and let me know

pcubillos commented 11 months ago

Yeah, it's working. Tested on OS X 12.6 / M1 chip, with and without MPI. Thanks for the quick fix!