File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
packages/dash-core-components
dash_core_components_base Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## [ UNRELEASED]
6+ ### Fixed
7+ - [ #903 ] ( https://github.com/plotly/dash-core-components/pull/903 ) - part of fixing dash import bug https://github.com/plotly/dash/issues/1143
8+
59## [ 1.14.1] - 2020-12-09
610### Updated
711- [ #898 ] ( https://github.com/plotly/dash-core-components/pull/898 )
Original file line number Diff line number Diff line change 1414__version__ = package ['version' ]
1515
1616# Module imports trigger a dash.development import, need to check this first
17- if not hasattr (_dash , 'development' ):
17+ if not hasattr (_dash , '__plotly_dash' ) and not hasattr ( _dash , ' development' ):
1818 print ("Dash was not successfully imported. Make sure you don't have a file "
1919 "named \n 'dash.py' in your current directory." , file = _sys .stderr )
2020 _sys .exit (1 )
2121
22- # Must update to dash>=0.23.1 to use this version of dash-core-components
23- if not hasattr (_dash .development .base_component , '_explicitize_args' ):
24- print ("Please update the `dash` module to >= 0.23.1 to use this "
25- "version of dash_core_components.\n "
26- "You are using version {:s}" .format (_dash .version .__version__ ),
27- file = _sys .stderr )
28- _sys .exit (1 )
29-
3022from ._imports_ import * # noqa: F401, F403
3123from ._imports_ import __all__ # noqa: E402
3224
You can’t perform that action at this time.
0 commit comments