-
-
Notifications
You must be signed in to change notification settings - Fork 75
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
pin numpy <2 #222
pin numpy <2 #222
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #222 +/- ##
=======================================
Coverage 95.74% 95.74%
=======================================
Files 12 12
Lines 1905 1905
=======================================
Hits 1824 1824
Misses 81 81 ☔ View full report in Codecov by Sentry. |
@andrewgsavage Sounds like a wise idea to me. Any objections to merging this? |
merge when ready |
A quick |
@wshanks Thanks for that! That's really good news, actually. I would still vote for merging this PR for 3.2.0, and expect to "officially" support numpy2.0 support in the next release. I expect that many libraries will consider numpy 2.0.0 to be "beta", and wait until the first or second patch release before supporting it. |
Since it's just that small change it would be good to do that and have
numpy 2 support
…On Thu, 16 May 2024, 02:09 Matt Newville, ***@***.***> wrote:
@wshanks <https://github.com/wshanks> Thanks for that! That's really good
news, actually.
I would still vote for merging this PR for 3.2.0, and expect to
"officially" support numpy2.0 support in the next release.
I expect that many libraries will consider numpy 2.0.0 to be "beta", and
wait until the first or second patch release before supporting it.
—
Reply to this email directly, view it on GitHub
<#222 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMLEFXR6VCA6TNJAJCFDLZCQBMFAVCNFSM6AAAAABHY6ROVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTG4ZDGNBZHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
The current test failure only involves a problem with the test itself and not with the library code. I opened #225 to address it. I also opened #224 as a reminder to review the numpy code more generally. I don't feel too strongly either way about pinning numpy here for a couple reasons (so merge if you prefer to):
|
@wshanks @andrewgsavage Thanks! I understand that upper bounds on versions are not ideal in general and does not always work well. Still, I might suggest that we merge both #225 and this PR to limit As with #224 and the recently re-pinged Issue #114, I think there are a lot of "legacy corner cases" in the unumpy interface, - including matrix support - that may need to be carefully checked with NumPy 2. But: I could be convinced to just go for it and allow Numpy 2 and (try to) deal with any consequences. |
I would rather not merge this since, to the best of our knowledge,
uncertainties works with numpy2.
If we do find something that doesn't work, that's a good reason to pin <2.
…On Thu, 16 May 2024, 15:54 Matt Newville, ***@***.***> wrote:
@wshanks <https://github.com/wshanks> @andrewgsavage
<https://github.com/andrewgsavage> Thanks! I understand that upper bounds
on versions are not ideal in general and does not always work well.
Still, I might suggest that we merge both #225
<#225> and this PR to limit numpy
< 2, at least for now, and then be ready to lift this restriction soon.
(I am also +1 on #223 <#223>
and #226 <#226>). I think we
can be cautious about supporting Numpy 2 for a little while, even if we
believe it will mostly work just fine.
As with #224 <#224> and the
recently re-pinged Issue #114
<#114>, I think there are a
lot of "legacy corner cases" in the unumpy interface, - including matrix
support - that may need to be carefully checked with NumPy 2.
But: I could be convinced to just go for it and allow Numpy 2 and (try to)
deal with any consequences.
—
Reply to this email directly, view it on GitHub
<#222 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADEMLEFDNQE2SRYUSSB4KDDZCTCDHAVCNFSM6AAAAABHY6ROVSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJVGQ3DSMBXHE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@andrewgsavage I am OK with closing this. We can re-open if needed. |
theres some depreciations in numpy 2, so they recommend pinning to <2 until modules support /test it.