Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix walk #9136

Closed
wants to merge 1 commit into from
Closed

Fix walk #9136

wants to merge 1 commit into from

Conversation

mnarodovitch
Copy link

@mnarodovitch mnarodovitch commented Jan 8, 2021

/usr/local/lib/python3.7/site-packages/pyarrow/filesystem.py:412: RuntimeWarning: coroutine 'S3FileSystem._ls' was never awaited
  for key in list(self.fs._ls(path, refresh=refresh)):
RuntimeWarning: Enable tracemalloc to get the object allocation traceback

see
https://github.com/dask/s3fs/blob/master/s3fs/core.py#L657
for reference

```
/usr/local/lib/python3.7/site-packages/pyarrow/filesystem.py:412: RuntimeWarning: coroutine 'S3FileSystem._ls' was never awaited
  for key in list(self.fs._ls(path, refresh=refresh)):
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
```
@mnarodovitch
Copy link
Author

related: fsspec/s3fs#366

@jorisvandenbossche
Copy link
Member

@michaelnarodovitch thanks for the fix, but this is already fixed on master by not using the S3FSWrapper class at all anymore (see #8557 and #8627).

Unfortunately we didn't do a bug fix release with it, so for now you need to either pin pyarrow to 1.0.0, or either pin fsspec to 0.4 when using pyarrow 2.0.0. A new pyarrow release with the fix (pyarrow 3.0.0) will be out in a week or two.

@mnarodovitch
Copy link
Author

That's great. Thank you so much!

@mnarodovitch mnarodovitch deleted the patch-1 branch January 9, 2021 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants