[
https://issues.apache.org/jira/browse/ARROW-10284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joris Van den Bossche updated ARROW-10284:
------------------------------------------
Description:
This happens on import (when setting the warning to be visisble), so even when
the user doesn't use the deprecated filesystems:
{code}
In [1]: import warnings
In [2]: warnings.simplefilter("always")
In [3]: import pyarrow
/home/joris/scipy/repos/arrow/python/pyarrow/filesystem.py:255:
DeprecationWarning: pyarrow.filesystem.LocalFileSystem is deprecated as of
2.0.0, please use pyarrow.fs.LocalFileSystem instead.
cls._instance = LocalFileSystem()
{code}
I forgot to add a filter in the construction of the LocalFileSystem ..
was:
This happens on import (when setting the warning to be visisble), so even when
the user doesn't use the deprecated filesystems:
{code}
In [1]: import warnings
In [2]: warnings.simplefilter("always")
In [3]: import pyarrow
/home/joris/scipy/repos/arrow/python/pyarrow/filesystem.py:255:
DeprecationWarning: pyarrow.filesystem.LocalFileSystem is deprecated as of
2.0.0, please use pyarrow.fs.LocalFileSystem instead.
cls._instance = LocalFileSystem()
{code}
> [Python] Pyarrow is raising deprecation warning about filesystems on import
> ---------------------------------------------------------------------------
>
> Key: ARROW-10284
> URL: https://issues.apache.org/jira/browse/ARROW-10284
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Joris Van den Bossche
> Assignee: Joris Van den Bossche
> Priority: Major
>
> This happens on import (when setting the warning to be visisble), so even
> when the user doesn't use the deprecated filesystems:
> {code}
> In [1]: import warnings
> In [2]: warnings.simplefilter("always")
> In [3]: import pyarrow
> /home/joris/scipy/repos/arrow/python/pyarrow/filesystem.py:255:
> DeprecationWarning: pyarrow.filesystem.LocalFileSystem is deprecated as of
> 2.0.0, please use pyarrow.fs.LocalFileSystem instead.
> cls._instance = LocalFileSystem()
> {code}
> I forgot to add a filter in the construction of the LocalFileSystem ..
--
This message was sent by Atlassian Jira
(v8.3.4#803005)