File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -195,6 +195,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
195195- [#1778](https://github.com/plotly/dash/pull/1778) DataTable: Fix React warnings stating
196196 that each child in a list should have a unique "key" prop
197197
198+ - [#1895](https://github.com/plotly/dash/pull/1895) Support debug=True if native namespace-packages are present
199+
198200## [2.0.0] - 2021-08-03
199201
200202## Dash and Dash Renderer
Original file line number Diff line number Diff line change @@ -1731,12 +1731,18 @@ def enable_dev_tools(
17311731 if isinstance (package , ModuleSpec )
17321732 else os .path .dirname (package .path )
17331733 if hasattr (package , "path" )
1734+ else os .path .dirname (
1735+ package ._path [0 ] # pylint: disable=protected-access
1736+ )
1737+ if hasattr (package , "_path" )
17341738 else package .filename
17351739 for package in packages
17361740 ]
17371741
17381742 for i , package in enumerate (packages ):
1739- if "dash/dash" in os .path .dirname (package .path ):
1743+ if hasattr (package , "path" ) and "dash/dash" in os .path .dirname (
1744+ package .path
1745+ ):
17401746 component_packages_dist [i : i + 1 ] = [
17411747 os .path .join (os .path .dirname (package .path ), x )
17421748 for x in ["dcc" , "html" , "dash_table" ]
You can’t perform that action at this time.
0 commit comments