-
-
Notifications
You must be signed in to change notification settings - Fork 535
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
[in limbo] Fix deprecation warnings from numpy 1.2 #4205
Comments
comment:2
sage -t sage/modules/*.pyx passes with the patch applied. |
comment:3
With #3498 and numpy-deprecations.patch applied we get some segfaults:
We need the following patch to quiet one deprecation warning:
Various other deprecation warnings which I was too lazy to fix :p
Some numerical noise:
Some more:
and finally:
|
comment:4
One more fix not yet in the patch:
|
comment:5
Attachment: numpy-deprecations.patch.gz Ok, the latest patch has the following issues left:
and after fixing the same issue as in the other places, i.e
we get
and some numerical noise, but this might be related to the stats function:
|
comment:6
Hmm... what's up with
in sage/numerical/test.py? Does scipy.linsolve not work anymore? Also, those doctest failures look like more than trivial noise, but I have no experience in the area so someone else should comment. |
comment:7
|
comment:8
Sorry; as is obvious from the discussion and iterative approach, this ticket is indeed "needs work"; I thought that was how it was marked. I think in the initial iteration, we thought we had something good, so it started out as "needs review" and then we forgot to change it to "needs work" when we started playing whack-a-mole. |
comment:9
And mabshoff is right, it's on hold until scipy 0.7 is release soon. |
comment:10
In fact, this ticket may not be needed anymore if the patch from #4206 is applied. |
comment:11
Some bits of this patch fix scipy import issues since things have moved around. Other than that I agree with Jason that we likely will end up canning the rest of this patch. Cheers, Michael |
comment:13
Closing this as |
Apparently we use the numpy C API in the RDF/CDF vector classes, which causes deprecation warnings with numpy 1.2. This patch updates this code to use current functions in numpy 1.2.
Component: linear algebra
Issue created by migration from https://trac.sagemath.org/ticket/4205
The text was updated successfully, but these errors were encountered: