Skip to content
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

Bump numpy version #397

Merged
merged 3 commits into from
Feb 11, 2022
Merged

Bump numpy version #397

merged 3 commits into from
Feb 11, 2022

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Feb 2, 2022

  1. Bump maximum numpy version on PyPI to 1.21

The latest numba, 0.55, which was released a few weeks ago, is
compatible with numpy 1.21, but not numpy 1.22.

Bump the maximum numpy version to 1.21 to reflect this.

  1. Add numba to conda build reqs, unfix numpy version

This is to ensure that the numpy version used to build hexrd is
compatible with numba.

We should test this to be sure it works...

This is to ensure that the numpy version used to build hexrd is
compatible with numba.

We should test this to be sure it works...

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
The latest numba, 0.55, which was released a few weeks ago, is
compatible with numpy 1.21, but not numpy 1.22.

Bump the maximum numpy version to 1.21 to reflect this.

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
Otherwise, it is defaulting to 1.16 with this message in the log files:

```
No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
WARNING:conda_build.metadata:No numpy version specified in conda_build_config.yaml.  Falling back to default numpy value of 1.16
```

Signed-off-by: Patrick Avery <patrick.avery@kitware.com>
@psavery
Copy link
Collaborator Author

psavery commented Feb 2, 2022

I tested this out locally on Linux with one of the examples and it seems to be working.

@psavery psavery requested a review from joelvbernier February 11, 2022 17:12
@joelvbernier joelvbernier merged commit eab3501 into HEXRD:master Feb 11, 2022
@psavery psavery deleted the bump-numpy branch April 19, 2022 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants