You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2020/02/26 10:41:00 UTC

[jira] [Commented] (ARROW-7944) [Python] Test failures without Pandas

    [ https://issues.apache.org/jira/browse/ARROW-7944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17045376#comment-17045376 ] 

Antoine Pitrou commented on ARROW-7944:
---------------------------------------

cc [~jorisvandenbossche]

> [Python] Test failures without Pandas
> -------------------------------------
>
>                 Key: ARROW-7944
>                 URL: https://issues.apache.org/jira/browse/ARROW-7944
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>            Reporter: Antoine Pitrou
>            Priority: Major
>             Fix For: 1.0.0
>
>
> I recently saw this:
> https://ci.appveyor.com/project/pitrou/arrow/builds/31065781/job/p08i1nrstf9wl2kr#L1964
> {code}
> ================================== FAILURES ===================================
> _________________________ test_builtin_pickle_dataset _________________________
> tempdir = WindowsPath('C:/Users/appveyor/AppData/Local/Temp/1/pytest-of-appveyor/pytest-0/test_builtin_pickle_dataset0')
> datadir = WindowsPath('c:/projects/arrow/python/pyarrow/tests/data/parquet')
>     def test_builtin_pickle_dataset(tempdir, datadir):
>         import pickle
> >       dataset = _make_dataset_for_pickling(tempdir)
> pyarrow\tests\test_parquet.py:2821: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> tempdir = WindowsPath('C:/Users/appveyor/AppData/Local/Temp/1/pytest-of-appveyor/pytest-0/test_builtin_pickle_dataset0')
> N = 100
>     def _make_dataset_for_pickling(tempdir, N=100):
>         path = tempdir / 'data.parquet'
>         fs = LocalFileSystem.get_instance()
>     
> >       df = pd.DataFrame({
>             'index': np.arange(N),
>             'values': np.random.randn(N)
>         }, columns=['index', 'values'])
> E       AttributeError: 'NoneType' object has no attribute 'DataFrame'
> pyarrow\tests\test_parquet.py:2776: AttributeError
> __________________________ test_cloudpickle_dataset ___________________________
> tempdir = WindowsPath('C:/Users/appveyor/AppData/Local/Temp/1/pytest-of-appveyor/pytest-0/test_cloudpickle_dataset0')
> datadir = WindowsPath('c:/projects/arrow/python/pyarrow/tests/data/parquet')
>     def test_cloudpickle_dataset(tempdir, datadir):
>         cp = pytest.importorskip('cloudpickle')
> >       dataset = _make_dataset_for_pickling(tempdir)
> pyarrow\tests\test_parquet.py:2827: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> tempdir = WindowsPath('C:/Users/appveyor/AppData/Local/Temp/1/pytest-of-appveyor/pytest-0/test_cloudpickle_dataset0')
> N = 100
>     def _make_dataset_for_pickling(tempdir, N=100):
>         path = tempdir / 'data.parquet'
>         fs = LocalFileSystem.get_instance()
>     
> >       df = pd.DataFrame({
>             'index': np.arange(N),
>             'values': np.random.randn(N)
>         }, columns=['index', 'values'])
> E       AttributeError: 'NoneType' object has no attribute 'DataFrame'
> pyarrow\tests\test_parquet.py:2776: AttributeError
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)