Skip to content

[Python] Pyarrow is raising deprecation warning about filesystems on import #26277

@asfimport

Description

@asfimport

This happens on import (when setting the warning to be visisble), so even when the user doesn't use the deprecated filesystems:

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()

I forgot to add a filter in the construction of the LocalFileSystem ..

Reporter: Joris Van den Bossche / @jorisvandenbossche
Assignee: Joris Van den Bossche / @jorisvandenbossche

PRs and other links:

Note: This issue was originally created as ARROW-10284. Please see the migration documentation for further details.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions