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
Checking the logs, I can see how in the two builds where we specify locales, the output is:
# Linux py37_locale
2018-11-25T20:35:30.0051096Z Setting LC_ALL and LANG to zh_CN.UTF-8
2018-11-25T20:35:31.0423116Z pandas detected console encoding: UTF-8
and
# Linux py36_locale_slow
2018-11-25T20:37:45.3938178Z Setting LC_ALL and LANG to it_IT.UTF-8
2018-11-25T20:37:46.4791772Z pandas detected console encoding: UTF-8
And also in Travis:
# 2.7, locale, slow, old NumPy
Setting LC_ALL and LANG to zh_CN.UTF-8
pandas detected console encoding: UTF-8
I checked the logs for the PR #23908 but I assume all are the same.
If I'm not misunderstanding anything, I think pandas is not detecting the locale we want to test with, and it's testing with the default UTF8 locale, as in the rest of the tests.
not sure I understand. Isn't pandas.get_option("display.encoding") expected to output zh_CN.UTF-8 in that travis job? In line 1805 of the link you provided is returning UTF-8 instead.
I think this was working well in travis, where one of the set up scripts was editing the pandas __init__.py and changing the locale there. But that wasn't implemented in Azure (or CircleCI before), where only the environment variable was defined.
This is unified in #24632. And should work after this is merged. Thanks for pointing out, I'll add this issue there, so it gets automatically closed.
In the scripts for the CI, we set the locale with:
and immediately later we display the locale detected by pandas:
(see https://github.com/pandas-dev/pandas/blob/master/ci/script_single.sh#L5)
Checking the logs, I can see how in the two builds where we specify locales, the output is:
and
And also in Travis:
I checked the logs for the PR #23908 but I assume all are the same.
If I'm not misunderstanding anything, I think pandas is not detecting the locale we want to test with, and it's testing with the default
UTF8
locale, as in the rest of the tests.CC: @jreback @TomAugspurger
The text was updated successfully, but these errors were encountered: