-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Labels
help wanted 🙏We need you (discussion or implementation)We need you (discussion or implementation)p2-bug-warning ⚠Visual output badVisual output badsubmodule ⊂Periphery/subclassesPeriphery/subclasses
Description
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:
======================================================================
ERROR: Test pandas bar object instance as argument deprecation
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/tqdm/tqdm/.tox/py27/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/home/travis/build/tqdm/tqdm/tqdm/tests/tests_pandas.py", line 111, in test_pandas_deprecation
from numpy.random import randint
ImportError: No module named numpy.random
I tested and pandas seems to be imported fine. The only issue is numpy.random.randint
.
So 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.
This should be fixed because we should have a branch coverage of 100% overall, but Travis reaches only 90% because the pandas tests are skipped.
Metadata
Metadata
Assignees
Labels
help wanted 🙏We need you (discussion or implementation)We need you (discussion or implementation)p2-bug-warning ⚠Visual output badVisual output badsubmodule ⊂Periphery/subclassesPeriphery/subclasses