Skip to content

Remove ImportError catching from dask/__init__.py#7797

Merged
mrocklin merged 1 commit intodask:mainfrom
jrbourbeau:cleanup-top-level-init
Jun 12, 2021
Merged

Remove ImportError catching from dask/__init__.py#7797
mrocklin merged 1 commit intodask:mainfrom
jrbourbeau:cleanup-top-level-init

Conversation

@jrbourbeau
Copy link
Copy Markdown
Member

These try/ except ImportError blocks shouldn't be needed anymore now that we've included toolz, cloudpickle, etc. as minimum dependencies for Dask. Additionally, our import check in CI

test_import "" "import dask, dask.base, dask.multiprocessing, dask.threaded, dask.optimization, dask.bag, dask.delayed, dask.graph_manipulation, dask.layers"

will ensure that we can continue to import dask.delayed and dask.base without any packages beyond Dask's minimum required dependencies.

@mrocklin mrocklin merged commit b46d871 into dask:main Jun 12, 2021
@jrbourbeau jrbourbeau deleted the cleanup-top-level-init branch June 12, 2021 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants