-
Notifications
You must be signed in to change notification settings - Fork 51
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
Bumped min numpy version to 1.18 #324
Conversation
Now minimum supported numpy is 1.18 and minimum supported python (py3) is 3.9
Probably pissed off some software gremlins by allowing that combo!
* Fix headers and include paths for NumPy 2 (currently breaks NumPy 1 build support) * Fix NumPy 1 build by using numpy.get_include() --------- Co-authored-by: Lehman Garrison <lgarrison@flatironinstitute.org>
Too much hassle trying to maintain py2
@lgarrison Will you please take a look that I didn't reduce the combinations of os/compiler/python/numpy too much? (really, we need to have a separate "does-this-even-compile-and-run-a-simple-thing" workflow and only run the tests on a smaller subset of hardware) I have dropped python2 completely - so the next release should be a major release (and not a minor/patch release) - possibly even Corrfunc3.0.0. What do you think? Also, should we also take out the code for python2 within the CPython extensions? |
Hmm - now that I think about it a bit more - may be I should drop py2 and numpy in CI first and release a patch version first (ie revert the change to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Either way is fine with me! I think this looks like good test coverage. Happy to have Corrfunc 3 as the next release, that makes it easy for people to find a version that works with NumPy 2.
@lgarrison Looks like there were plans to rename the package to |
I reverted the drop of py2 to create one final patch release with python2. Once the tests pass, I am going to merge the branch in and release 2.5.3. I will then create a new branch to start the process for releasing Corrfunc3 |
Hmm, this would be a breaking change for a lot of people. Should we have a deprecation period, or make the change but at least emit an informative error when using the old name? |
How would we do a deprecation period? The biggest motivation to change the package name is to conform to the python convention - which might be required if we want to migrate to newer packaging methods (i.e., migrate out of setuptools). If there is an import error, then the error handling would be done by python - I don't think we would be able to emit any message at all - right? Or could we add a dummy |
Yeah, I was thinking of something like a warning period where |
No description provided.