diff --git a/CHANGELOG.md b/CHANGELOG.md index 121e10e06e..b02812726e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ This project adheres to [Semantic Versioning](https://semver.org/). ## [UNRELEASED] +## Fixed + +- [#2573](https://github.com/plotly/dash/pull/2578) Disable jupyter dash in Databricks, as the implementation here does not work in a Databricks notebook. Dash Enterprise customers can use the separate databricks-dash package for this purpose. + ## Changed - [#2573](https://github.com/plotly/dash/pull/2573) Use `julia --project` command inside `JuliaRunner`. diff --git a/dash/_jupyter.py b/dash/_jupyter.py index 44a582b6b2..1c1e1cd6da 100644 --- a/dash/_jupyter.py +++ b/dash/_jupyter.py @@ -489,7 +489,8 @@ def _wrap_errors(error): @property def active(self): - return _dep_installed and (self.in_ipython or self.in_colab) + _inside_dbx = "DATABRICKS_RUNTIME_VERSION" in os.environ + return _dep_installed and not _inside_dbx and (self.in_ipython or self.in_colab) jupyter_dash = JupyterDash()