Azure blob requires fsspec >= 0.8 and kedro is still on 0.7
See original GitHub issueDescription
Azure blob with authentication via Shared Access Signature requires fsspec >= 0.8
Context
Kedro install does not compile, kedro viz does not work with fsspec 0.8
Steps to Reproduce
- pip install -U fsspec
- pip install adlfs
- kedro run ( with azure blob dataset)
Expected Result
load data from Azure blob storage
Actual Result
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/Users/lucianoissoe/opt/anaconda3/lib/python3.7/site-packages/adlfs/__init__.py", line 1, in <module>
from .spec import AzureDatalakeFileSystem
File "/Users/lucianoissoe/opt/anaconda3/lib/python3.7/site-packages/adlfs/spec.py", line 21, in <module>
from fsspec.asyn import (
ModuleNotFoundError: No module named 'fsspec.asyn'
kedro.io.core.DataSetError:
No module named 'fsspec.asyn'.
Failed to instantiate DataSet 'safras' of type `kedro.extras.datasets.pandas.csv_dataset.CSVDataSet`.
Error:
No module named 'fsspec.asyn'.
Failed to instantiate DataSet 'safras' of type `kedro.extras.datasets.pandas.csv_dataset.CSVDataSet`.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
- Kedro version used (
pip show kedroorkedro -V):kedro, version 0.16.6 - Python version used (
python -V):Python 3.7.6 - Operating system and version: Mac
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Azure blob requires fsspec >= 0.8 and kedro is still on 0.7 #597
Description Azure blob with authentication via Shared Access Signature requires fsspec >= 0.8 Context Kedro install does not compile, ...
Read more >fsspec Documentation - Read the Docs
fsspec exists to provide a familiar API that will work the same whatever the storage backend. As much as possible, we iron out...
Read more >Why does fsspec always connects to blob? - Microsoft Q&A
Although everything is configured to connect to datalake storage, fsspec seems to try to build a connection to a blob storage which is...
Read more >kedro-mlflow - Release 0.11.4 Yolan Honoré-Rougé
Kedro is a python package which facilitates the prototyping of data pipelines. It aims at enforcing software engineering.
Read more >How to update fsspec in Pandas - python - Stack Overflow
Just do on command prompt pip install fsspec=0.7.4. It will work fine.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi @Lucianois thanks for raising this. We are aware this is really inconvenient, but it will be made available in version 0.17.0. Commit https://github.com/quantumblacklabs/kedro/commit/151cbcd1acaae25da4633ab87fabbf354d60059b was pushed to
developbranch.I wouldn’t say this is a duplicate.
Despite the #489 comment, as of 4th Nov 2020, https://github.com/quantumblacklabs/kedro/blob/develop/requirements.txt#L5 sets
fsspec>=0.5.1, <0.8, which means that currentdevelopbranch does not support fsspec >= 0.8 and cannot solve this Azure blob issue.PyTorch Lightning also requires fsspec>=0.8 and got the same problem: https://github.com/quantumblacklabs/kedro/issues/553