Uploaded image for project: 'Apache Arrow'
  1. Apache Arrow
  2. ARROW-10284

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

    XMLWordPrintableJSON

Details

    Description

      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 ..

      Attachments

        Issue Links

          Activity

            People

              jorisvandenbossche Joris Van den Bossche
              jorisvandenbossche Joris Van den Bossche
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m