-
Notifications
You must be signed in to change notification settings - Fork 152
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
Broken tests due to upgrade of fsspec
#956
Comments
I have identified the issue. In the old version, the default argument is Source code: I will open a PR to fix soon. |
Thank you! |
SvenDS9
pushed a commit
to SvenDS9/PytorchData
that referenced
this issue
Jan 24, 2023
…ytorch#957) Summary: Pull Request resolved: pytorch#957 Fixes pytorch#956 Context: In the old version of `fsspec`, the default argument is `detail=False` for method `ls` for the filesystem `memory`, thus it returned a list of `str`. In the new version, the default is `detail=True`, which returns list of `Dict`. Source code: https://github.com/fsspec/filesystem_spec/blob/2023.1.0/fsspec/implementations/memory.py#L34 Test Plan: Imported from OSS Reviewed By: ejguan Differential Revision: D42646692 Pulled By: NivekT fbshipit-source-id: 41258a5a16487303a7e6895c484794c1f1d66e39
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🐛 Describe the bug
After
fsspec
is updated2023.1.0
from2022.11.0
, this test becomes broken due toAttributeError: 'dict' object has no attribute 'startswith'
Example failed workflow: https://github.com/pytorch/data/actions/runs/3969171216/jobs/6803298832
Versions
main branch
The text was updated successfully, but these errors were encountered: