Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ==> Starting check()...
- ================================================ test session starts =================================================
- platform linux -- Python 3.5.1, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
- rootdir: /tmp/pacaurtmp-to266/python-dask/src/dask-0.8.1, inifile:
- collected 868 items / 4 skipped
- dask/array/tests/test_array_core.py ...................................................................................................................s.............
- dask/array/tests/test_chunk.py .....
- dask/array/tests/test_creation.py ....xx
- dask/array/tests/test_ghost.py ................x..
- dask/array/tests/test_linalg.py ......................................
- dask/array/tests/test_optimization.py ......
- dask/array/tests/test_percentiles.py ..
- dask/array/tests/test_random.py ..............
- dask/array/tests/test_rechunk.py .................
- dask/array/tests/test_reductions.py ..................
- dask/array/tests/test_slicing.py ........................
- dask/array/tests/test_wrap.py .......
- dask/bag/tests/test_bag.py ..................................s.......s.................................
- dask/dataframe/tests/test_arithmetics_reduction.py ...........
- dask/dataframe/tests/test_categorical.py ....
- dask/dataframe/tests/test_dataframe.py .........................................................................F........................
- dask/dataframe/tests/test_demo.py ..
- dask/dataframe/tests/test_groupby.py ...........
- dask/dataframe/tests/test_io.py ................................sssss.x..........s.......s....F
- dask/dataframe/tests/test_multi.py ...........................
- dask/dataframe/tests/test_optimize_dataframe.py ..
- dask/dataframe/tests/test_rolling.py ....
- dask/dataframe/tests/test_shuffle.py .....
- dask/dataframe/tests/test_utils_dataframe.py .
- dask/dataframe/tseries/tests/test_resample.py .........................................................................................................................
- dask/diagnostics/tests/test_profiler.py .....ssssssss
- dask/diagnostics/tests/test_progress.py ......s..
- dask/store/tests/test_store.py ..
- dask/tests/test_async.py ..............
- dask/tests/test_base.py ....................s
- dask/tests/test_context.py ..
- dask/tests/test_core.py ....................
- dask/tests/test_imperative.py .............x.........
- dask/tests/test_multiprocessing.py .......
- dask/tests/test_optimize.py ...................
- dask/tests/test_order.py .......
- dask/tests/test_rewrite.py ........
- dask/tests/test_threaded.py .....
- dask/tests/test_utils.py ........
- ====================================================== FAILURES ======================================================
- _____________________________________________________ test_query _____________________________________________________
- def test_query():
- df = pd.DataFrame({'x': [1, 2, 3, 4], 'y': [5, 6, 7, 8]})
- a = dd.from_pandas(df, npartitions=2)
- > q = a.query('x**2 > y')
- dask/dataframe/tests/test_dataframe.py:1280:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- dask/dataframe/core.py:1467: in query
- dummy = self._pd.query(expr, **kwargs)
- /usr/lib/python3.5/site-packages/pandas/core/frame.py:2140: in query
- res = self.eval(expr, **kwargs)
- /usr/lib/python3.5/site-packages/pandas/core/frame.py:2209: in eval
- return _eval(expr, inplace=inplace, **kwargs)
- /usr/lib/python3.5/site-packages/pandas/computation/eval.py:233: in eval
- _check_engine(engine)
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- engine = 'numexpr'
- def _check_engine(engine):
- """Make sure a valid engine is passed.
- Parameters
- ----------
- engine : str
- Raises
- ------
- KeyError
- * If an invalid engine is passed
- ImportError
- * If numexpr was requested but doesn't exist
- """
- if engine not in _engines:
- raise KeyError('Invalid engine {0!r} passed, valid engines are'
- ' {1}'.format(engine, list(_engines.keys())))
- # TODO: validate this in a more general way (thinking of future engines
- # that won't necessarily be import-able)
- # Could potentially be done on engine instantiation
- if engine == 'numexpr':
- if not _NUMEXPR_INSTALLED:
- > raise ImportError("'numexpr' is not installed or an "
- "unsupported version. Cannot use "
- "engine='numexpr' for query/eval "
- "if 'numexpr' is not installed")
- E ImportError: 'numexpr' is not installed or an unsupported version. Cannot use engine='numexpr' for query/eval if 'numexpr' is not installed
- /usr/lib/python3.5/site-packages/pandas/computation/eval.py:39: ImportError
- _________________________________________________ test_to_hdf_kwargs _________________________________________________
- def test_to_hdf_kwargs():
- df = pd.DataFrame({'A': ['a', 'aaaa']})
- ddf = dd.from_pandas(df, npartitions=2)
- > ddf.to_hdf('tst.h5', 'foo4', format='table', min_itemsize=4)
- dask/dataframe/tests/test_io.py:1028:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- dask/dataframe/core.py:532: in to_hdf
- fletcher32, get=get, **kwargs)
- dask/dataframe/io.py:655: in to_hdf
- get=get, **dask_kwargs)
- dask/base.py:43: in _get
- return get(dsk2, keys, **kwargs)
- dask/async.py:516: in get_sync
- raise_on_exception=True, **kwargs)
- dask/async.py:462: in get_async
- fire_task()
- dask/async.py:458: in fire_task
- get_id, raise_on_exception])
- dask/async.py:508: in apply_sync
- return func(*args, **kwds)
- dask/async.py:264: in execute_task
- result = _execute_task(task, data)
- dask/async.py:245: in _execute_task
- args2 = [_execute_task(a, cache) for a in args]
- dask/async.py:245: in <listcomp>
- args2 = [_execute_task(a, cache) for a in args]
- dask/async.py:246: in _execute_task
- return func(*args2)
- dask/compatibility.py:26: in apply
- return func(*args, **kwargs)
- /usr/lib/python3.5/site-packages/pandas/core/generic.py:1096: in to_hdf
- return pytables.to_hdf(path_or_buf, key, self, **kwargs)
- /usr/lib/python3.5/site-packages/pandas/io/pytables.py:259: in to_hdf
- complib=complib) as store:
- _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
- self = <[RecursionError("maximum recursion depth exceeded") raised in repr()] HDFStore object at 0x7f1d044b8470>
- path = 'tst.h5', mode = 'a', complevel = 0, complib = None, fletcher32 = False, kwargs = {}
- def __init__(self, path, mode=None, complevel=None, complib=None,
- fletcher32=False, **kwargs):
- try:
- import tables # noqa
- except ImportError as ex: # pragma: no cover
- raise ImportError('HDFStore requires PyTables, "{ex}" problem '
- > 'importing'.format(ex=str(ex)))
- E ImportError: HDFStore requires PyTables, "No module named 'tables'" problem importing
- /usr/lib/python3.5/site-packages/pandas/io/pytables.py:389: ImportError
- =========================== 2 failed, 841 passed, 24 skipped, 5 xfailed in 141.72 seconds ============================
- Exception ignored in: ==> ERROR: A failure occurred in check().
- Aborting...
- :: failed to build python-dask package(s)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement