Skip to content

Commit

Permalink
React 16.13 (#494)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-Andre-Rivet authored Mar 10, 2020
1 parent 28d37e0 commit c286d79
Show file tree
Hide file tree
Showing 10 changed files with 38 additions and 22 deletions.
13 changes: 10 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
- run: echo $PYVERSION > ver.txt

- restore_cache:
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum "ver.txt" }}
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum "ver.txt" }}-{{ checksum ".circleci/config.yml" }}

- run:
name: Create virtualenv
Expand All @@ -71,13 +71,20 @@ jobs:
command: |
. venv/bin/activate
pip install --progress-bar off -r tests/requirements.txt --quiet
pip install --progress-bar off dash[testing]
- save_cache:
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum "ver.txt" }}
key: deps1-{{ .Branch }}-{{ checksum "requirements.txt" }}-{{ checksum "tests/requirements.txt" }}-{{ checksum "ver.txt" }}-{{ checksum ".circleci/config.yml" }}
paths:
- venv

- run:
name: Install Dash
command: |
. venv/bin/activate
git clone --depth 1 https://github.com/plotly/dash.git dash-main
cd dash-main && pip install -e .[dev,testing]
cd dash-renderer && npm run build && pip install -e . && cd ../..
- run:
name: Run pylint
command: |
Expand Down
2 changes: 2 additions & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ disable=print-statement,
too-many-lines,
too-many-instance-attributes,
too-few-public-methods,
unsubscriptable-object,
unsupported-assignment-operation,

# Enable the message, report, category or checker with the given id(s). You can
# either give multiple identifier separated by comma (,) or put this option
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased]
### Changed
* [#489](https://github.com/plotly/dash-bio/pull/489) Renamed async modules with hyphen `-` instead of tilde `~`
- [#494](https://github.com/plotly/dash-bio/pull/494) Update from React 16.8.6 to 16.13.0

## [0.4.7] - 2020-02-21
### Added
Expand Down
2 changes: 1 addition & 1 deletion dash_bio/async-needle.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dash_bio/bundle.js

Large diffs are not rendered by default.

30 changes: 20 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"molecule-3d-for-react": "git://github.com/plotly/molecule-3d-for-react.git",
"plotly.js": "^1.52.2",
"ramda": "^0.26.0",
"react": "16.8.6",
"react": "16.13.0",
"react-alignment-viewer": "^0.5.5",
"react-dom": "16.8.6",
"react-dom": "16.13.0",
"react-oncoprint": "^1.2.3",
"react-plotly.js": "^2.4.0",
"react-sequence-viewer": "git://github.com/plotly/react-sequence-viewer.git",
Expand Down
1 change: 0 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
# pip install -r requirements.txt

cython>=0.19
dash>=1.6.1
dash-bio-utils==0.0.4
dash-daq==0.2.2
gunicorn==19.9.0
Expand Down
2 changes: 1 addition & 1 deletion src/lib/fragments/NeedlePlot.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export default class NeedlePlot extends Component {
this.handleChange = this.handleChange.bind(this);
}

componentWillMount() {
UNSAFE_componentWillMount() {
// For default argument of taken from defaultProps deeply nested
this.props = mergeDeepRight(NeedlePlot.defaultProps, this.props);
}
Expand Down
3 changes: 0 additions & 3 deletions tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
-r ../requirements.txt

# Additional packages needed to run the tests.
chromedriver-binary==2.45.0
flake8==3.6.0
ipdb==0.11
pylint==2.3.0

0 comments on commit c286d79

Please sign in to comment.