You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Numpy versions < 1.8 play poorly with arrays of mixed type, truncating anything not of type string to the length of the longest string. This is inhibiting #7974
throw a warning if category.py is imported with a numpy<1.8 and skip tests for numpy<1.8
The advantage of 2 is it keeps the code cleaner and this is an edge case of sorts because it's only an issue when the array is of mixed type (strings and numbers). The advantage of 1 is of course edge case support on older systems.
The text was updated successfully, but these errors were encountered:
I think option 1 is preferable--less likely to trigger questions from users, and simpler in that it is localized to a single module. Comments could be added to make it very simple to strip out the shims when we no longer support numpy 1.7.
I think what we can do is add a skip to #7974 so that testing starts working as it should be, and then @story645 can open a PR restoring the shims which will properly be tested once testing works.
Numpy versions < 1.8 play poorly with arrays of mixed type, truncating anything not of type string to the length of the longest string. This is inhibiting #7974
So the issue is as follows
two possible solutions:
The advantage of 2 is it keeps the code cleaner and this is an edge case of sorts because it's only an issue when the array is of mixed type (strings and numbers). The advantage of 1 is of course edge case support on older systems.
The text was updated successfully, but these errors were encountered: