-
-
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: windows failures #14140
Comments
cc @gfyoung if you can get the first one, I can get the rest |
@jreback : Okay, that sounds good. |
@jorisvandenbossche : Did it fail on the |
Okay, then I'm a little suspicious about this failure for |
I will fix the sparse ones. appveryor is very good at showing the errors. the parser error may not show on 2.7. appveyor will not run things after the first build (which is 2.7) fails. my output is from 3.5. (so could maybe only be there). |
appveyor only runs on master (or you can setup it up yourself to run on your own PR's). but it won't run other's (I suppose we could change this, it is pretty fast now). |
@jreback : If Appveyor is fast enough, I would vote for adding it to the PR checks. |
@gfyoung yeah, if you can figure out the setting, lmk. |
@jreback : What branches are you building currently? I thought it should be possible by default? If we get stuck, we can cc |
I changed it to |
https://ci.appveyor.com/project/jreback/pandas-465/build/1.0.973 so passing on 2.7 / failing on 3.5 (for that single test). |
i don't think it works on PRs |
I think you can only have projects under your own personal account on appveyor and not for a github org? In that case, we maybe better make a 'pandas' account for appveyor. I can set this up. |
https://travis-ci.org/pydata/pandas/jobs/157552565 replacates this failure on Travis (this is a proposed PR that can set some locales) |
Ah...it could be a locale issue then because elif len(sep.encode(encoding)) > 1: This check is specifically for the C engine, and I would like to provide a nice error / warning message should this check raise another @jreback : What do you think is best? The awkward part is that the conditional is caught in the middle of an elif sep is not None:
encodable = True
try:
if len(sep.encode(encoding)) > 1:
encodable = False
except UnicodeEncodeError:
encodable = False
if not encodable:
... |
@jreback : My unsupported test is a flaky because of the locale dependency I realize (I can't replicate the error on Windows locally). Perhaps I should just remove the test? |
This replicates on 3.5 windows for me:
I think the encoding is getting set to windows default
which seems ok (I though |
Fair enough, but I think we should make a comment about the flakiness. BTW, what did you think about my try-except proposal above? |
maybe a bit better |
@jreback : idk if it's necessary to abstract away logic into a separate function, but I'll try putting up a PR with the change, and we can discuss there. |
ok I think I enabled appveyor to work. It wasn't sending the pull-request webhook events, only a push. give it a try. |
closed in #14140
The text was updated successfully, but these errors were encountered: