-
-
Notifications
You must be signed in to change notification settings - Fork 488
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
Update numpy to 1.24.3 #35081
Update numpy to 1.24.3 #35081
Conversation
Codecov ReportBase: 88.59% // Head: 88.58% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## develop #35081 +/- ##
===========================================
- Coverage 88.59% 88.58% -0.02%
===========================================
Files 2140 2140
Lines 396998 396961 -37
===========================================
- Hits 351740 351648 -92
- Misses 45258 45313 +55
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
I upgraded to numpy 1.24.2 last week and I did not get any of these failures. Also, the backtraces seem to point to pythran, not sagemath, I don't install pythran with sagemath (should I? what am I missing?). At some point I was starting to like python 3, but they really make an effort to show up. Sometimes it seems half the work is dealing with deprecation sh*t. |
I installed pythran (we are on 0.12.1). Now I get stuff like
No, I don't have msvc installed here, thank you very much. Uninstalling pythran. I abhor programs that change behaviour just because some library is installed. Also, we have these lines in
Shouldn't that apply? Btw, that's the only reference to pythran in the sage library. Why is then installing pythran having any effect at all? |
I'm throwing in an update of pythran to see if that helps |
Yes, that fixed it. |
The stuff in here (or #34994) doesn't fix
and at least one similar failure in |
I never saw anything like that. |
6a2aeb4
to
4430324
Compare
I've redone the branch on top of current #34994. |
@tornaria pythran is a dependency of scipy, but it may not be useful at runtime as it is similar to cython as far as I can see. It is possible that the formatting in plot_field.py is coming from something else, but then what? And it was spotted as far back as December. |
|
4430324
to
7830cae
Compare
For the record, I pushed #35438 to ignore all the deprecation warnings that I see when installing pythran (python 3.11, setuptools 67.6.1, numpy 1.24.2). I can't really review the current PR since it's only changing a spkg, but FWIW I've been using 1.24.2 for a while without any trouble after #34994. |
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.
I have now been using 1.24.2 since the end of February without noticeable problems because of it.
I've merged #35438 just in case. |
7830cae
to
ffd9ee9
Compare
1.24.3 is out |
ffd9ee9
to
0442126
Compare
numpy 1.25.0 is out, which supports Python 3.9–3.11, but not the upcoming 3.12. https://numpy.org/devdocs/release/1.25.0-notes.html |
### 📚 Description Mostly due to a deprecation warning: `Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)`. Also fix: - a change of output in `numpy.linalg.eig()` - a change in an exception class See: #35081 <!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes #12345", use "Add a new method to multiply two integers" --> <!-- Describe your changes here in detail. --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #35826 Reported by: Gonzalo Tornaría Reviewer(s):
Documentation preview for this PR (built with commit aee02c6; changes) is ready! 🎉 |
v1.26.0b1 is out, with Python 3.12 support and Cython 3 compatibility (see #36110). Let's skip this update and do 1.26 |
📚 Description
NumPy 1.24.x still supports Python 3.8 (see #35404).
https://github.com/numpy/numpy/releases
Closes #34816
📝 Checklist
⌛ Dependencies