Repository navigation
MAINT: fix numpy deprecation warnings - #2490
Merged
Merged
Conversation
josef-pkt
force-pushed
the
numpy_deprecation_2480
branch
from
July 1, 2015 04:26
5468d98 to
36651f5
Compare
Member
Author
|
I had forgotten to add several modules with changes to the commit, amended and force pushed |
josef-pkt
force-pushed
the
numpy_deprecation_2480
branch
from
July 1, 2015 16:44
afc8dba to
b4ed011
Compare
Member
Author
|
interactive rebase to remove one extra file from first commit |
Member
Author
|
Good, all numpy warnings are gone. Disable warnings again and then it should be ready for merge. We have a bit of test noise, where we get warnings. However, the warnings are not the same for all versions, so there might be some work there. (So, we shouldn't silence warnings in unit tests only if we are sure it's expected.) |
Member
Author
|
looks good merging |
josef-pkt
added a commit
that referenced
this pull request
Jul 1, 2015
MAINT/REF: fix numpy deprecation warnings closes #2480
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
see #2480 enabling deprecation warnings creates many of them from numpy, mostly non-integers
I'm using Python 3.4, and need TravisCI to check the changes.
I didn't manage to find the sources of all deprecation warnings yet
Note: This are not all innocent changes,
There are possible problems related to integer division and rounding (int conversion), but the test suite never had failures.
/by//in some cases which was inconsistent across python 2 versus python 3nobsfrom float to int, and addedfrom __future__ import divisionto several but not all modules.