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/07/07 10:59:00 UTC

[jira] [Created] (ARROW-9347) [Python] Tests fail with latest fsspec

Antoine Pitrou created ARROW-9347:
-------------------------------------

             Summary: [Python] Tests fail with latest fsspec
                 Key: ARROW-9347
                 URL: https://issues.apache.org/jira/browse/ARROW-9347
             Project: Apache Arrow
          Issue Type: Bug
          Components: Python
            Reporter: Antoine Pitrou


Using the latest fsspec from upstream git repo (changeset 656be423ef36ac533fd3319850e107c2669cce3d), I get this error when running the tests:

{code}
Traceback (most recent call last):
  File "/home/antoine/arrow/dev/python/pyarrow/tests/test_fs.py", line 778, in test_move_directory
    fs.move(s, t)
  File "pyarrow/_fs.pyx", line 519, in pyarrow._fs.FileSystem.move
    check_status(self.fs.Move(source, destination))
  File "pyarrow/_fs.pyx", line 1024, in pyarrow._fs._cb_move
    handler.move(frombytes(src), frombytes(dest))
  File "/home/antoine/arrow/dev/python/pyarrow/fs.py", line 173, in move
    self.fs.mv(src, dest)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/fsspec/spec.py", line 743, in mv
    self.rm(path1, recursive=recursive)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/fsspec/implementations/local.py", line 108, in rm
    os.remove(path)
IsADirectoryError: [Errno 21] Is a directory: '/tmp/pytest-of-antoine/pytest-0/test_move_directory_PyFileSyst1/source-dir'
{code}




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