-
-
Notifications
You must be signed in to change notification settings - Fork 18.1k
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
TST: the pandas test suite fails on 32bit systems #22813
Comments
|
Any chance you’re running 32 bit python? |
64-bit actually. Is this 32-bit related? |
I think @topper-123 uses 32-bit (see the discussion in #21905). It looks like the same tests are also failing on some of the nightlies, e.g. https://travis-ci.org/MacPython/pandas-wheels/jobs/432034742#L4858 |
Makes sense. Looks like we should patch if we can ASAP. |
Yes, I run 32bit python, 64bit Windows. I use miniconda as my python package mansager, so didn't choose 32bit myself. So likely this issue would affect all conda users on Windows? |
IMO That's a little bit of an exaggeration. I have 64-bit Python 😉 |
I've looked more into this and have found the culprit to be #22296. pandas/pandas/tests/indexes/test_base.py Line 1382 in f4fae35
I.e. in line 1382 in test_base.py, the dtype should be Do people agree? Returning platform dtype is the current behaviour for Index.get_indexer, e.g. (on pandas 0.23.1 on 32bit python on Windows 10): In [1]: index = pd.Index(['a', 'b'], dtype=np.object)
In [2]: index.get_indexer(['a', 'b', 'c'])
Out[2]: array([ 0, 1, -1], dtype=int32) |
Same here - it seems to be the miniconda default (or at least it must have used to be), and as such will surely affect many (64bit-)Windows users. After running the whole test suite, I have found two further persistent failures on current master (5ce06b5), one possibly related to #21333/#22549 (@jbrockmendel),
and one
|
The period error you found @h-vetinari was noted here: #22905 |
I've been trying tonight to get the test suite to pass and keep getting some failures:
The issue is related to integer dtypes:
Can anyone confirm if this is a failure on pandas on windows?
The text was updated successfully, but these errors were encountered: