-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with numba 0.59.0 #133
Comments
Do you know what in cosipy is using numba? Is it a 3ML dependency? |
Here's the dependency tree in my environment. It seems numba is needed by astromodels and sparse. |
Ah, I see, thanks. |
To add, the API |
Using the command: |
Pierre Jean had the same issue with numba. Downgrading to version 0.57.0 also worked for him. Below I copy his initial error message, for reference: The cosipy installation seemed to be fine (via conda) on my user on the server of Jürgen (linux) but I obtained the following error with the python command "from cosipy import BinnedData"
|
I looked into this a little bit more. The traceback shows the issue propagates from the interpolation package (which call numba's generated_jit, and is called by astromodels). See this relevant issues: I made a new release (v0.0.2a4) adding restricting numba<=0.58.0. It will throw a deprecation warning instead of an error. I'll leave this issue open since we should remove the restriction on the numba version once this is fixed in the dependencies. |
This was already fixed on the interpolation side. This can be closed once #187 is merged. |
David Palmore reported an issue installing cosipy related to numba version 0.59.0. It's not really an issue with cosipy, but I'll add it here to remember me to add it to the troubleshooting section in the documentation. David fixed this by downgrading to numba 0.57.0
The text was updated successfully, but these errors were encountered: