Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc-André Rivet committed Sep 19, 2019
2 parents cdbf2be + 009c345 commit 5b30bad
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ jobs:
name: ️️🏗️ build core
command: |
. venv/bin/activate && pip install --upgrade -e . --quiet && mkdir packages
cd dash-renderer && renderer build && pip uninstall -y dash-renderer && pip install -e . && python setup.py sdist && mv dist/* ../packages/ && cd ..
python setup.py sdist && mv dist/* packages/
cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
git clone --depth 1 https://github.com/plotly/dash-core-components.git
cd dash-core-components && npm install --ignore-scripts && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
git clone --depth 1 https://github.com/plotly/dash-renderer-test-components
Expand Down Expand Up @@ -201,7 +201,7 @@ jobs:
name: 🧪 Run Integration Tests
command: |
. venv/bin/activate && cd packages && ls -la
find . -name "*.gz" | xargs pip install --force-reinstall && pip list | grep dash && cd ..
find . -name "*.gz" | xargs pip install --ignore-installed && pip list | grep dash && cd ..
TESTFILES=$(circleci tests glob "tests/integration/**/test_*.py" | circleci tests split --split-by=timings)
pytest --headless --nopercyfinalize --junitxml=test-reports/junit_intg.xml ${TESTFILES}
- store_artifacts:
Expand Down
32 changes: 16 additions & 16 deletions dash-renderer/package-lock.json

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

4 changes: 4 additions & 0 deletions dash/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## [1.3.1] - 2019-09-19
### Changed
- Bumped dash-core-components version from 1.2.0 to [1.2.1](https://github.com/plotly/dash-core-components/blob/master/CHANGELOG.md#120---2019-09-19)

## [1.3.0] - 2019-09-17
### Added
- [#923](https://github.com/plotly/dash/pull/923) Adds one configuration `--percy-assets` in `pytest` to specify extra application assets path if needed
Expand Down
12 changes: 8 additions & 4 deletions dash/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ def _filter_resources(self, all_resources, dev_bundles=False):
filtered_resource['asset_path'] = s['asset_path']
filtered_resource['ts'] = info.st_mtime
elif self.config.serve_locally:
warnings.warn(
'A local version of {} is not available'.format(
s['external_url']
)
warnings.warn((
'You have set your config to `serve_locally=True` but '
'A local version of {} is not available.\n'
'If you added this file with `app.scripts.append_script` '
'or `app.css.append_css`, use `external_scripts` '
'or `external_stylesheets` instead.\n'
'See https://dash.plot.ly/external-resources'
).format(s['external_url'])
)
continue
else:
Expand Down
2 changes: 1 addition & 1 deletion dash/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.3.0'
__version__ = '1.3.1'
2 changes: 1 addition & 1 deletion requires-install.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Flask>=1.0.2
flask-compress
plotly
dash_renderer==1.1.0
dash-core-components==1.2.0
dash-core-components==1.2.1
dash-html-components==1.0.1
dash-table==4.3.0
future

0 comments on commit 5b30bad

Please sign in to comment.