question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure blob requires fsspec >= 0.8 and kedro is still on 0.7

See original GitHub issue

Description

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

  1. pip install -U fsspec
  2. pip install adlfs
  3. 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 kedro or kedro -V):kedro, version 0.16.6
  • Python version used (python -V):Python 3.7.6
  • Operating system and version: Mac

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lorenabalancommented, Nov 16, 2020

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 develop branch.

1reaction
Minyuscommented, Nov 4, 2020

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 current develop branch 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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found