File tree 2 files changed +9
-1
lines changed
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/).
195
195
- [#1778](https://github.com/plotly/dash/pull/1778) DataTable: Fix React warnings stating
196
196
that each child in a list should have a unique "key" prop
197
197
198
+ - [#1895](https://github.com/plotly/dash/pull/1895) Support debug=True if native namespace-packages are present
199
+
198
200
## [2.0.0] - 2021-08-03
199
201
200
202
## Dash and Dash Renderer
Original file line number Diff line number Diff line change @@ -1731,12 +1731,18 @@ def enable_dev_tools(
1731
1731
if isinstance (package , ModuleSpec )
1732
1732
else os .path .dirname (package .path )
1733
1733
if hasattr (package , "path" )
1734
+ else os .path .dirname (
1735
+ package ._path [0 ] # pylint: disable=protected-access
1736
+ )
1737
+ if hasattr (package , "_path" )
1734
1738
else package .filename
1735
1739
for package in packages
1736
1740
]
1737
1741
1738
1742
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
+ ):
1740
1746
component_packages_dist [i : i + 1 ] = [
1741
1747
os .path .join (os .path .dirname (package .path ), x )
1742
1748
for x in ["dcc" , "html" , "dash_table" ]
You can’t perform that action at this time.
0 commit comments