{"action":"created","issue":{"url":"https://api.github.com/repos/tqdm/tqdm/issues/272","repository_url":"https://api.github.com/repos/tqdm/tqdm","labels_url":"https://api.github.com/repos/tqdm/tqdm/issues/272/labels{/name}","comments_url":"https://api.github.com/repos/tqdm/tqdm/issues/272/comments","events_url":"https://api.github.com/repos/tqdm/tqdm/issues/272/events","html_url":"https://github.com/tqdm/tqdm/issues/272","id":177610542,"number":272,"title":"Fix coverage of pandas on Travis","user":{"login":"lrq3000","id":1118942,"avatar_url":"https://avatars.githubusercontent.com/u/1118942?v=3","gravatar_id":"","url":"https://api.github.com/users/lrq3000","html_url":"https://github.com/lrq3000","followers_url":"https://api.github.com/users/lrq3000/followers","following_url":"https://api.github.com/users/lrq3000/following{/other_user}","gists_url":"https://api.github.com/users/lrq3000/gists{/gist_id}","starred_url":"https://api.github.com/users/lrq3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrq3000/subscriptions","organizations_url":"https://api.github.com/users/lrq3000/orgs","repos_url":"https://api.github.com/users/lrq3000/repos","events_url":"https://api.github.com/users/lrq3000/events{/privacy}","received_events_url":"https://api.github.com/users/lrq3000/received_events","type":"User","site_admin":false},"labels":[{"id":219970577,"url":"https://api.github.com/repos/tqdm/tqdm/labels/bug","name":"bug","color":"fc2929","default":true},{"id":219970580,"url":"https://api.github.com/repos/tqdm/tqdm/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":435839560,"url":"https://api.github.com/repos/tqdm/tqdm/labels/submodule","name":"submodule","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-09-17T21:33:12Z","updated_at":"2016-10-31T15:02:22Z","closed_at":null,"body":"Travis has an issue with pandas: it does not want to run the tests. They are skipped because of a missing library: numpy. Numpy should be installed and work (Travis tells us that it is installed per pandas requirements), but it weirdly cannot be imported:\n\n```\n======================================================================\nERROR: Test pandas bar object instance as argument deprecation\n----------------------------------------------------------------------\nTraceback (most recent call last):\n  File \"/home/travis/build/tqdm/tqdm/.tox/py27/lib/python2.7/site-packages/nose/case.py\", line 197, in runTest\n    self.test(*self.arg)\n  File \"/home/travis/build/tqdm/tqdm/tqdm/tests/tests_pandas.py\", line 111, in test_pandas_deprecation\n    from numpy.random import randint\nImportError: No module named numpy.random\n```\n\nI tested and pandas seems to be imported fine. The only issue is `numpy.random.randint`.\n\nSo either we workaround by defining our own replacement function, either we really fix this issue (which is better because other submodules will need it such as #248) but I have no idea how.\n\nThis should be fixed because we should have a branch coverage of 100% overall, but Travis reaches only 90% because the pandas tests are skipped.\n"},"comment":{"url":"https://api.github.com/repos/tqdm/tqdm/issues/comments/257317965","html_url":"https://github.com/tqdm/tqdm/issues/272#issuecomment-257317965","issue_url":"https://api.github.com/repos/tqdm/tqdm/issues/272","id":257317965,"user":{"login":"lrq3000","id":1118942,"avatar_url":"https://avatars.githubusercontent.com/u/1118942?v=3","gravatar_id":"","url":"https://api.github.com/users/lrq3000","html_url":"https://github.com/lrq3000","followers_url":"https://api.github.com/users/lrq3000/followers","following_url":"https://api.github.com/users/lrq3000/following{/other_user}","gists_url":"https://api.github.com/users/lrq3000/gists{/gist_id}","starred_url":"https://api.github.com/users/lrq3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lrq3000/subscriptions","organizations_url":"https://api.github.com/users/lrq3000/orgs","repos_url":"https://api.github.com/users/lrq3000/repos","events_url":"https://api.github.com/users/lrq3000/events{/privacy}","received_events_url":"https://api.github.com/users/lrq3000/received_events","type":"User","site_admin":false},"created_at":"2016-10-31T15:02:22Z","updated_at":"2016-10-31T15:02:22Z","body":"Yes there is an issue with caching numpy or cython or pandas on these python versions ([as demonstrated here](https://travis-ci.org/tqdm/tqdm/builds/171994082)). So these should also be excluded in the build matrix..."}}
{"actor":{"display_login":"lrq3000"}}