Skip to content

Commit a779c60

Browse files
authored
Merge branch 'master' into 0.39.0-issue591
2 parents 17fbbe1 + 6cee22c commit a779c60

File tree

8 files changed

+24
-15
lines changed

8 files changed

+24
-15
lines changed

Diff for: .circleci/requirements/dev-requirements-py37.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ mock
66
tox
77
tox-pyenv
88
six
9-
plotly==3.6.1
9+
plotly==3.7.1
1010
requests[security]
1111
flake8
12-
pylint==2.2.2
13-
astroid==2.1.0
12+
pylint==2.3.1
13+
astroid==2.2.5

Diff for: .circleci/requirements/dev-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ mock
66
tox
77
tox-pyenv
88
six
9-
plotly==3.6.1
9+
plotly==3.7.1
1010
requests[security]
1111
flake8
1212
pylint==1.9.4

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## [0.40.0] - 2019-03-25
2+
### Changed
3+
- Bumped dash-core-components version from 0.44.0 to [0.45.0](https://github.com/plotly/dash-core-components/blob/master/CHANGELOG.md#0450---2019-03-25)
4+
- Bumped dash-html-components version from 0.14.0 to [0.15.0](https://github.com/plotly/dash-html-components/blob/master/CHANGELOG.md#0150---2019-03-25)
5+
- Bumped dash-renderer version from 0.20.0 to [0.21.0](https://github.com/plotly/dash-renderer/blob/master/CHANGELOG.md#0210---2019-03-25)
6+
17
## [0.39.0] - 2019-03-04
28
## Added
39
- Allow multiple outputs from a single callback. [#436](https://github.com/plotly/dash/pull/436)

Diff for: dash/_configs.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,15 @@ def pathname_configs(url_base_pathname=None,
7979
'`requests_pathname_prefix`.'
8080
)
8181
)
82-
elif url_base_pathname is not None and routes_pathname_prefix is not None:
82+
83+
if url_base_pathname is not None and routes_pathname_prefix is not None:
8384
raise exceptions.InvalidConfig(
8485
_pathname_config_error_message.format(
8586
'You supplied `url_base_pathname` and '
8687
'`routes_pathname_prefix`.')
8788
)
88-
elif url_base_pathname is not None and routes_pathname_prefix is None:
89+
90+
if url_base_pathname is not None and routes_pathname_prefix is None:
8991
routes_pathname_prefix = url_base_pathname
9092
elif routes_pathname_prefix is None:
9193
routes_pathname_prefix = '/'

Diff for: dash/dash.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ def serve_component_suites(self, package_name, path_in_package_dist):
496496
'Registered libraries are: {}'
497497
.format(package_name, list(self.registered_paths.keys())))
498498

499-
elif path_in_package_dist not in self.registered_paths[package_name]:
499+
if path_in_package_dist not in self.registered_paths[package_name]:
500500
raise exceptions.DependencyException(
501501
'"{}" is registered but the path requested is not valid.\n'
502502
'The path requested: "{}"\n'

Diff for: dash/development/_py_components_generation.py

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import collections
1+
from collections import OrderedDict
22
import copy
33
import os
44

@@ -310,9 +310,10 @@ def reorder_props(props):
310310
Dictionary with {propName: propMetadata} structure
311311
"""
312312
if 'children' in props:
313-
props = collections.OrderedDict(
314-
[('children', props.pop('children'),)] +
315-
list(zip(list(props.keys()), list(props.values()))))
313+
# Constructing an OrderedDict with duplicate keys, you get the order
314+
# from the first one but the value from the last.
315+
# Doing this to avoid mutating props, which can cause confusion.
316+
props = OrderedDict([('children', '')] + list(props.items()))
316317

317318
return props
318319

Diff for: dash/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.39.0'
1+
__version__ = '0.40.0'

Diff for: setup.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@
2020
'Flask>=0.12',
2121
'flask-compress',
2222
'plotly',
23-
'dash_renderer==0.20.0',
24-
'dash-core-components==0.44.0',
25-
'dash-html-components==0.14.0',
23+
'dash_renderer==0.21.0',
24+
'dash-core-components==0.45.0',
25+
'dash-html-components==0.15.0',
2626
'dash-table==3.6.0'
2727
],
2828
entry_points={

0 commit comments

Comments
 (0)