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

AttributeError: type object 'MemoryFileSystem' has no attribute 'cached_files' #294

Closed
gmaze opened this issue Sep 27, 2023 · 2 comments · Fixed by #293
Closed

AttributeError: type object 'MemoryFileSystem' has no attribute 'cached_files' #294

gmaze opened this issue Sep 27, 2023 · 2 comments · Fixed by #293
Labels
bug Something isn't working internals Internal machinery

Comments

@gmaze
Copy link
Member

gmaze commented Sep 27, 2023

this seems to plague rtd build and upstream tests un der python 3.9

Related to #292 and #293

@gmaze gmaze added bug Something isn't working internals Internal machinery labels Sep 27, 2023
@gmaze
Copy link
Member Author

gmaze commented Sep 27, 2023

Just notice fsspec/filesystem_spec#1353 !!
changed occurred in release 2023.9.1
file cache is no longer a pickle but a json file !

@gmaze
Copy link
Member Author

gmaze commented Sep 27, 2023

Also, cached files data are now managed by a specific class in fsspec/filesystem_spec#1296 (fsspec/filesystem_spec@aacc5f2)

that's why we have the AttributeError: type object 'MemoryFileSystem' has no attribute 'cached_files' error

the list of cached_files is now in the fs._metadata.cached_files ! not fs.cached_files anymore

this is for fsspec version > 2023.6.0

gmaze added a commit that referenced this issue Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working internals Internal machinery
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant