-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
numba 0.55.0 on defaults
doesn't constrain numpy as expected
#7794
Comments
@charlesbluca thank you, I can confirm this, but I do need to add
|
Interestingly enough the build from the
The error message is somewhat confusing however... |
Yeah this really only becomes a problem when environments are created using both
It is - I wonder why mamba's solver doesn't catch the $ mamba create --override-channels -c conda-forge -n test numba::numba=0.55 numpy=1.22
...
Encountered problems while solving:
- package numba-0.55.0rc1-np1.11py3.7hc13618b_gf2a673cd0_0 requires numpy >=1.18,<1.22, but none of the providers can be installed |
@charlesbluca I have forwarded this to the team that does |
@esc should this be closed? |
@stuartarchibald only when the package has been fixed, I would say? |
This issue is marked as stale as it has had no activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with any updates and confirm that this issue still needs to be addressed. |
I just tried this and the package from
|
During an OOB conversation with a colleague, I was pointed towards: https://github.com/AnacondaRecipes/repodata-hotfixes This may be a good way to constrain the package data. |
|
When using Conda to create an environment with both Numba and NumPy, I notice that the linux-64 numba 0.55.0 package hosted on
defaults
doesn't respect the max version constraint for NumPy like theconda-forge
package does; this means it is possible to create an environment with numba 0.55 and numpy 1.22, which results in anImportError
when trying to import numba:$ mamba create -n test numba=0.55 numpy=1.22 ... + numba 0.55.0 py310h00e6091_0 pkgs/main/linux-64 Cached + numpy 1.22.1 py310h454958d_0 conda-forge/linux-64 Cached
If we limit the environment creation to only use
conda-forge
, this constraint is properly respected:Is this different behavior between the two packages expected? I notice that before, the
defaults
hosted packages seemed to respect this constraint:For context, I observed this issue in dask-contrib/dask-sql#383 - here is an example of potential downstream failures that can occur as a result of this.
The text was updated successfully, but these errors were encountered: