Skip to content

[Python] Test failure with ffspec 2021.6.0 #28795

@asfimport

Description

@asfimport

These failures have started showing up in AppVeyor and can be reproduced locally:

pyarrow/tests/test_fs.py ........sx.x..s....sx.x..s.....s.....s....s.....s....s....Fs....s.....s....s.....s....s.....s....s.....s.....s.....s....s.....s....s..... [ 40%]
s....s.....s................ssss....................ssss....s.....s................ssss....................ssss................ssss....................ssss....s.. [ 88%]
...s......s.............................                                                                                                                           [100%]

================================================================================ FAILURES ================================================================================
______________________________________________ test_get_file_info[PyFileSystem(FSSpecHandler(fsspec.filesystem("memory")))] ______________________________________________
Traceback (most recent call last):
  File "/home/antoine/arrow/dev/python/pyarrow/tests/test_fs.py", line 616, in test_get_file_info
    fs.create_dir(aaa)
  File "pyarrow/_fs.pyx", line 460, in pyarrow._fs.FileSystem.create_dir
    check_status(self.fs.CreateDir(directory, recursive=recursive))
  File "pyarrow/_fs.pyx", line 1054, in pyarrow._fs._cb_create_dir
    handler.create_dir(frombytes(path), recursive)
  File "/home/antoine/arrow/dev/python/pyarrow/fs.py", line 266, in create_dir
    self.fs.mkdir(path, create_parents=recursive)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/fsspec/implementations/memory.py", line 99, in mkdir
    raise FileExistsError
FileExistsError

Reporter: Antoine Pitrou / @pitrou
Assignee: Antoine Pitrou / @pitrou

PRs and other links:

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions