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

adjusted numpy version #1015

Merged
merged 1 commit into from
Jun 10, 2024
Merged

adjusted numpy version #1015

merged 1 commit into from
Jun 10, 2024

Conversation

dkeeney
Copy link

@dkeeney dkeeney commented Jun 10, 2024

Version number adjustments.

  1. After the last PR, I manually ran a full build and regression test on Windows (VS 2022) and Linux (Ubuntu 22.04) and they were successful. Fred already ran it on macOS.

however I found that the latest numpy version requires at least Python 3.9.
I adjusted the requirements.txt to limit the version of numpy to V1.23 so that the minimum remains at Python V3.7.

However, we could also change the minimum Python version to Python 3.9, then we can use the latest numpy. But on Ubuntu 22.04 (and probably others as well) the default is Python 3.8 and the build fails unless a newer Python is installed.

  1. The HelloSPTPTest regression test still fails. This is a performance test. However, on my slow machine (Intel i7 gen8) it runs too slow to pass the test. It would be good to have a performance test that flags a PR that destroys performance but the test should not be dependent on the processor's speed. So for now I disabled that test.

  2. I also made some corrections to the README file.

@dkeeney dkeeney self-assigned this Jun 10, 2024
@dkeeney dkeeney added the build label Jun 10, 2024
Copy link
Collaborator

@ctrl-z-9000-times ctrl-z-9000-times left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. Thank you for bumping the versions and checking that it still works!

As for the latest numpy release:

  1. It's very new. I think we should wait a month or two before dealing with it, just to let the numpy team shake out any issues on their end.
  2. It would be nice if htm.core worked with both numpy v1 and v2. I checked the release notes and I think that should be doable, but it might take a few changes on our end?

Does this sound like a reasonable plan of action?

@dkeeney
Copy link
Author

dkeeney commented Jun 10, 2024

ok, we will stay with numpy v1 for a little while.

@dkeeney dkeeney merged commit 473a955 into master Jun 10, 2024
@dkeeney dkeeney deleted the PR1010 branch June 10, 2024 18:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants