Skip to content
This repository was archived by the owner on Mar 6, 2023. It is now read-only.
This repository was archived by the owner on Mar 6, 2023. It is now read-only.

Gracefully handle missing optional dependencies #183

@LukeWeidenwalker

Description

@LukeWeidenwalker

This issue is to ensure that missing optional imports only cause those processes to fail that actually require them.

From the discussion in #177:

There are several approaches to handling optional dependencies:

  • local "just in time" imports (instead of global module level imports)
  • falling back on None, e.g.
try:
    import dask
except ImportError:
    dask = None

Duplicate of #5.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions