Why is bokeh not in package dependencies #7359
-
Hi, I was wondering why bokeh is not part of the package requirements if it's quite essential for distributed? Since it's not in requirements.txt, it's also not in setup.py. So when you install the package, bokeh is not installed, which causes errors when parts of distributed is used. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Bokeh isn't really essential for distributed. You only need it if you want to look at the dashboard. Many folks don't need it (especially in production environments) and also care about keeping their environments as small as possible. Recently it was accidentally made non-optional and that broke things for a bunch of folks so it was restored back to optional in #7230. When bokeh is missing you should see nice warning messages saying if you want to use that feature you need to install bokeh. If you're seeing hard crashes and tracebacks those should be fixed. |
Beta Was this translation helpful? Give feedback.
Bokeh isn't really essential for distributed. You only need it if you want to look at the dashboard. Many folks don't need it (especially in production environments) and also care about keeping their environments as small as possible.
Recently it was accidentally made non-optional and that broke things for a bunch of folks so it was restored back to optional in #7230.
When bokeh is missing you should see nice warning messages saying if you want to use that feature you need to install bokeh. If you're seeing hard crashes and tracebacks those should be fixed.