zblz / naima

Derivation of non-thermal particle distributions through MCMC spectral fitting
http://naima.readthedocs.io
BSD 3-Clause "New" or "Revised" License
43 stars 54 forks source link

Test fail with new Numpy version #185

Closed cdeil closed 4 years ago

cdeil commented 4 years ago

@zblz - There's a small issue because Numpy got more strict in recent versions: https://travis-ci.org/gammapy/gammapy/jobs/566755816#L3931

Could you please fix this?

I'm confused concerning whether the fix is already in master - the line number seems to have changed, the code here looks OK: https://github.com/zblz/naima/blob/d6a6781d73bf58fd8269e8b0e3b70be22723cd5b/naima/radiative.py#L169

Maybe you just have to cut another release on PyPI to fix this?

zblz commented 4 years ago

I've updated the tests to fail on deprecations in #186 and released a new 0.8.4 version. If it doesn't solve this issue, please reopen.