Skip to content

Commit

Permalink
Update numpy version specifier (#480)
Browse files Browse the repository at this point in the history
This PR updates the `numpy` version specifier for `cucim`.

It was previously updated in [this commit](043810a) to enable publishing Python `3.10` packages.

However, since there was no maximum version in that specifier, `conda` was picking up the latest version of `numpy` (`1.24.1`) which is incompatible with `cudf`'s version of `numba` ([`numba>=0.56.2`](https://github.com/rapidsai/cudf/blob/36b07f13480d8f7ba18274cb3a63f06855d848ff/conda/recipes/cudf/meta.yaml#L52)).

For instance, if you try to run this: `mamba create -n test 'numba>=0.56.2' 'numpy>=1.24.1'`, it will fail to solve.

Running with the new version specifier in this PR does solve: `mamba create -n test 'numba>=0.56.2' 'numpy>=1.21.3,<1.24'`.

Therefore, this maximum version limit seems necessary for `cucim` to be compatible with the rest of RAPIDS.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Ray Douglass (https://github.com/raydouglass)

URL: #480
  • Loading branch information
ajschmidt8 authored Jan 18, 2023
1 parent c899ea2 commit 2acc027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda/recipes/cucim/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ requirements:
- cudatoolkit ={{ cuda_version }}
- cupy >=10,<12.0.0a0
- libcucim ={{ version }}
- numpy >=1.21.3
- numpy 1.21
- python
- scikit-image >=0.19.0,<0.20.0a0
- scipy
Expand Down

0 comments on commit 2acc027

Please sign in to comment.