You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, some xcdat developers are running into an issue where incompatible versions of numba and numpy are being installed together. The xcdat package depends on xesmf, which depends on numba.
Root Cause
The numba conda recipe does not properly constrain the compatible numpy version based on the numba version.
There are related GH issues that have yet to be resolved:
As a result, conda/mamba sometimes successfully builds the xcdat (with the xesmf) package using incompatible versions of numba and numpy. We only find out these two packages are incompatible when we import <PACKAGE> and get “ImportError: Numba needs NumPy 1.21 or less”.
Possible Workaround
For xcdat, we constrained numba >=0.55.2 to ensure compatibility with numpy >= 1.22.
Overview
Hi, some xcdat developers are running into an issue where incompatible versions of
numba
andnumpy
are being installed together. Thexcdat
package depends onxesmf
, which depends onnumba
.Root Cause
The
numba
conda recipe does not properly constrain the compatiblenumpy
version based on thenumba
version.There are related GH issues that have yet to be resolved:
defaults
doesn't constrain numpy as expected numba/numba#7794As a result, conda/mamba sometimes successfully builds the
xcdat
(with thexesmf
) package using incompatible versions ofnumba
andnumpy
. We only find out these two packages are incompatible when weimport <PACKAGE>
and get“ImportError: Numba needs NumPy 1.21 or less”.
Possible Workaround
For
xcdat
, we constrainednumba >=0.55.2
to ensure compatibility withnumpy >= 1.22
.Here's the related issue and PR:
numba >=0.55.2
fornumpy >=1.22
compatibility conda-forge/xcdat-feedstock#9Version compatibility table
https://numba.readthedocs.io/en/stable/user/installing.html#version-support-information
The text was updated successfully, but these errors were encountered: