{"action":"created","issue":{"url":"https://api.github.com/repos/pydata/pandas/issues/14114","repository_url":"https://api.github.com/repos/pydata/pandas","labels_url":"https://api.github.com/repos/pydata/pandas/issues/14114/labels{/name}","comments_url":"https://api.github.com/repos/pydata/pandas/issues/14114/comments","events_url":"https://api.github.com/repos/pydata/pandas/issues/14114/events","html_url":"https://github.com/pydata/pandas/pull/14114","id":173657722,"number":14114,"title":"Test for Python 3.4 with C locale","user":{"login":"nbonnotte","id":9929982,"avatar_url":"https://avatars.githubusercontent.com/u/9929982?v=3","gravatar_id":"","url":"https://api.github.com/users/nbonnotte","html_url":"https://github.com/nbonnotte","followers_url":"https://api.github.com/users/nbonnotte/followers","following_url":"https://api.github.com/users/nbonnotte/following{/other_user}","gists_url":"https://api.github.com/users/nbonnotte/gists{/gist_id}","starred_url":"https://api.github.com/users/nbonnotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbonnotte/subscriptions","organizations_url":"https://api.github.com/users/nbonnotte/orgs","repos_url":"https://api.github.com/users/nbonnotte/repos","events_url":"https://api.github.com/users/nbonnotte/events{/privacy}","received_events_url":"https://api.github.com/users/nbonnotte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-28T17:35:45Z","updated_at":"2016-08-29T18:07:46Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pydata/pandas/pulls/14114","html_url":"https://github.com/pydata/pandas/pull/14114","diff_url":"https://github.com/pydata/pandas/pull/14114.diff","patch_url":"https://github.com/pydata/pandas/pull/14114.patch"},"body":"As @jreback suggested, I'm adding an alternate py3 build to change LOCALE, based on the 3.4 slow build, to reveal some encoding bugs (see #12337)\r\n\r\nI'm new to configuring Travis, I just hope this will work as I expect and that the tests will fail.\r\n\r\n - [ ] closes #12337 \r\n - [x] tests added but not passed?\r\n - [ ] passes ``git diff upstream/master | flake8 --diff``\r\n - [ ] whatsnew entry\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pydata/pandas/issues/comments/243205109","html_url":"https://github.com/pydata/pandas/pull/14114#issuecomment-243205109","issue_url":"https://api.github.com/repos/pydata/pandas/issues/14114","id":243205109,"user":{"login":"nbonnotte","id":9929982,"avatar_url":"https://avatars.githubusercontent.com/u/9929982?v=3","gravatar_id":"","url":"https://api.github.com/users/nbonnotte","html_url":"https://github.com/nbonnotte","followers_url":"https://api.github.com/users/nbonnotte/followers","following_url":"https://api.github.com/users/nbonnotte/following{/other_user}","gists_url":"https://api.github.com/users/nbonnotte/gists{/gist_id}","starred_url":"https://api.github.com/users/nbonnotte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nbonnotte/subscriptions","organizations_url":"https://api.github.com/users/nbonnotte/orgs","repos_url":"https://api.github.com/users/nbonnotte/repos","events_url":"https://api.github.com/users/nbonnotte/events{/privacy}","received_events_url":"https://api.github.com/users/nbonnotte/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T18:07:46Z","updated_at":"2016-08-29T18:07:46Z","body":"This is disappointing. I added a travis job with LC_ALL=C, and the tests still succeed: https://travis-ci.org/pydata/pandas/jobs/155766390\r\n\r\nThe new locale seems to be taken into account, since travis says\r\n```\r\n$ ci/script.sh\r\ninside ci/script.sh\r\nSetting LC_ALL to C\r\n/home/travis/build/pydata/pandas/pandas/computation/__init__.py:19: UserWarning: The installed version of numexpr 2.4.4 is not supported in pandas and will be not be used\r\n  UserWarning)\r\npandas detected console encoding: ANSI_X3.4-1968\r\n```\r\n\r\nBut on my computer,\r\n``` \r\n$ LC_ALL=C nosetests pandas.tests.formats.test_format                                                     \r\n..................S..............................................SSS.........E........................................................................................................\r\n======================================================================\r\nERROR: test_to_latex_filename (pandas.tests.formats.test_format.TestDataFrameFormatting)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/home/nicolas/Documents/Projects/pandas/pandas/tests/formats/test_format.py\", line 2808, in test_to_latex_filename\r\n    df.to_latex(path)\r\n  File \"/home/nicolas/Documents/Projects/pandas/pandas/core/frame.py\", line 1655, in to_latex\r\n    encoding=encoding)\r\n  File \"/home/nicolas/Documents/Projects/pandas/pandas/formats/format.py\", line 661, in to_latex\r\n    latex_renderer.write_result(f)\r\n  File \"/home/nicolas/Documents/Projects/pandas/pandas/formats/format.py\", line 897, in write_result\r\n    buf.write(' & '.join(crow))\r\nUnicodeEncodeError: 'ascii' codec can't encode character '\\xdf' in position 7: ordinal not in range(128)\r\n\r\n----------------------------------------------------------------------\r\nRan 182 tests in 3.860s\r\n\r\nFAILED (SKIP=4, errors=1)\r\n```\r\n\r\nI'm missing something, obviously. I'm going to try with Python 3.5, which is what I'm using on my computer, but I don't see how that could change things."}}
{"actor":{"display_login":"nbonnotte"}}