This repository was archived by the owner on Jun 3, 2024. It is now read-only.
File tree 2 files changed +5
-9
lines changed
dash_core_components_base
2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 2
2
All notable changes to this project will be documented in this file.
3
3
This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
4
4
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
+
5
9
## [ 1.14.1] - 2020-12-09
6
10
### Updated
7
11
- [ #898 ] ( https://github.com/plotly/dash-core-components/pull/898 )
Original file line number Diff line number Diff line change 14
14
__version__ = package ['version' ]
15
15
16
16
# 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' ):
18
18
print ("Dash was not successfully imported. Make sure you don't have a file "
19
19
"named \n 'dash.py' in your current directory." , file = _sys .stderr )
20
20
_sys .exit (1 )
21
21
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
-
30
22
from ._imports_ import * # noqa: F401, F403
31
23
from ._imports_ import __all__ # noqa: E402
32
24
You can’t perform that action at this time.
0 commit comments