Skip to content

Commit 78b9832

Browse files
author
Marc-André Rivet
committed
Merge remote-tracking branch 'origin/dev'
2 parents 8e64fbe + 6f01d52 commit 78b9832

17 files changed

+610
-561
lines changed

.circleci/config.yml

Lines changed: 75 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ jobs:
55
percy-finalize:
66
docker:
77
- image: percyio/agent
8+
auth:
9+
username: dashautomation
10+
password: $DASH_PAT_DOCKERHUB
811
steps:
912
- run: percy finalize --all
1013

1114
artifacts:
1215
docker:
1316
- image: circleci/python:3.7.6-stretch-node-browsers
17+
auth:
18+
username: dashautomation
19+
password: $DASH_PAT_DOCKERHUB
1420
environment:
1521
PYVERSION: python37
1622
steps:
@@ -28,6 +34,9 @@ jobs:
2834
working_directory: ~/dash
2935
docker:
3036
- image: circleci/python:3.7.6-stretch-node-browsers
37+
auth:
38+
username: dashautomation
39+
password: $DASH_PAT_DOCKERHUB
3140
environment:
3241
PYLINTRC: .pylintrc37
3342
PYVERSION: python37
@@ -65,6 +74,9 @@ jobs:
6574
<<: *lint-unit
6675
docker:
6776
- image: circleci/python:3.6.9-stretch-node-browsers
77+
auth:
78+
username: dashautomation
79+
password: $DASH_PAT_DOCKERHUB
6880
environment:
6981
PYLINTRC: .pylintrc
7082
PYVERSION: python36
@@ -73,6 +85,9 @@ jobs:
7385
<<: *lint-unit
7486
docker:
7587
- image: circleci/python:2.7.18-stretch-node-browsers
88+
auth:
89+
username: dashautomation
90+
password: $DASH_PAT_DOCKERHUB
7691
environment:
7792
PYLINTRC: .pylintrc
7893
PYVERSION: python27
@@ -81,6 +96,9 @@ jobs:
8196
working_directory: ~/dash
8297
docker:
8398
- image: circleci/python:3.7.6-stretch-node-browsers
99+
auth:
100+
username: dashautomation
101+
password: $DASH_PAT_DOCKERHUB
84102
environment:
85103
PYVERSION: python37
86104
steps:
@@ -116,20 +134,29 @@ jobs:
116134
<<: *build-core
117135
docker:
118136
- image: circleci/python:3.6.9-stretch-node-browsers
137+
auth:
138+
username: dashautomation
139+
password: $DASH_PAT_DOCKERHUB
119140
environment:
120141
PYVERSION: python36
121142

122143
build-core-27:
123144
<<: *build-core
124145
docker:
125146
- image: circleci/python:2.7.18-stretch-node-browsers
147+
auth:
148+
username: dashautomation
149+
password: $DASH_PAT_DOCKERHUB
126150
environment:
127151
PYVERSION: python27
128152

129153
build-misc-37: &build-misc
130154
working_directory: ~/dash
131155
docker:
132156
- image: circleci/python:3.7.6-stretch-node-browsers
157+
auth:
158+
username: dashautomation
159+
password: $DASH_PAT_DOCKERHUB
133160
environment:
134161
PYVERSION: python37
135162

@@ -166,17 +193,23 @@ jobs:
166193
<<: *build-misc
167194
docker:
168195
- image: circleci/python:3.6.9-stretch-node-browsers
196+
auth:
197+
username: dashautomation
198+
password: $DASH_PAT_DOCKERHUB
169199
environment:
170200
PYVERSION: python36
171201

172202
build-misc-27:
173203
<<: *build-misc
174204
docker:
175205
- image: circleci/python:2.7.18-stretch-node-browsers
206+
auth:
207+
username: dashautomation
208+
password: $DASH_PAT_DOCKERHUB
176209
environment:
177210
PYVERSION: python27
178211

179-
build-windows-37: &build-windows
212+
build-windows-37:
180213
working_directory: ~/dash
181214
executor:
182215
name: win/default
@@ -186,37 +219,21 @@ jobs:
186219
steps:
187220
- checkout
188221
- run: echo $PYVERSION > ver.txt
189-
- restore_cache:
190-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
191-
- run:
192-
name: ️️🏗️ pip dev requirements
193-
command: |
194-
pip install --upgrade virtualenv
195-
virtualenv venv
196-
source venv/Scripts/activate
197-
sed -i '/dash-/d' requires-install.txt
198-
pip install -e . --no-cache-dir -r requires-install.txt -r requires-dev.txt -r requires-testing.txt --progress-bar off
199-
- save_cache:
200-
key: dep-{{ checksum ".circleci/config.yml" }}-{{ checksum "ver.txt" }}-{{ checksum "requires-dev.txt" }}-{{ checksum "requires-install.txt" }}-{{ checksum "requires-testing.txt" }}
201-
paths:
202-
- venv
203222
- run:
204223
name: ️️🏗️ build core
205224
command: |
206-
source venv/Scripts/activate && pip install --no-cache-dir --upgrade -e . --progress-bar off && mkdir packages
225+
pip install --no-cache-dir --upgrade -e .[dev,testing] --progress-bar off
207226
cd dash-renderer && renderer build && python setup.py sdist && mv dist/* ../packages/ && cd ..
208227
git clone --depth 1 https://github.com/plotly/dash-core-components.git
209-
cd dash-core-components && npm ci && npm run build && python setup.py sdist && mv dist/* ../packages/ && cd ..
210-
ls -la packages
211-
- persist_to_workspace:
212-
root: ~/dash
213-
paths:
214-
- packages/*.tar.gz
228+
cd dash-core-components && npm ci && npm run build && python setup.py sdist && cd ..
215229
216230
build-dashr:
217231
working_directory: ~/dashr
218232
docker:
219233
- image: plotly/dashr:ci
234+
auth:
235+
username: dashautomation
236+
password: $DASH_PAT_DOCKERHUB
220237
environment:
221238
PERCY_PARALLEL_TOTAL: -1
222239
PYVERSION: python37
@@ -325,6 +342,9 @@ jobs:
325342
working_directory: ~/dash
326343
docker:
327344
- image: circleci/python:3.7.6-stretch-node-browsers
345+
auth:
346+
username: dashautomation
347+
password: $DASH_PAT_DOCKERHUB
328348
environment:
329349
PERCY_PARALLEL_TOTAL: -1
330350
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD: True
@@ -367,6 +387,9 @@ jobs:
367387
<<: *test
368388
docker:
369389
- image: circleci/python:3.6.9-stretch-node-browsers
390+
auth:
391+
username: dashautomation
392+
password: $DASH_PAT_DOCKERHUB
370393
environment:
371394
PERCY_ENABLE: 0
372395
PYVERSION: python36
@@ -375,6 +398,9 @@ jobs:
375398
<<: *test
376399
docker:
377400
- image: circleci/python:2.7.18-stretch-node-browsers
401+
auth:
402+
username: dashautomation
403+
password: $DASH_PAT_DOCKERHUB
378404
environment:
379405
PERCY_ENABLE: 0
380406
PYVERSION: python27
@@ -383,20 +409,28 @@ workflows:
383409
version: 2
384410
python3.7:
385411
jobs:
386-
- lint-unit-37
387-
- build-core-37
388-
- build-windows-37
389-
- build-misc-37
390-
- build-dashr
412+
- lint-unit-37:
413+
context: dash-docker-hub
414+
- build-core-37:
415+
context: dash-docker-hub
416+
- build-windows-37:
417+
context: dash-docker-hub
418+
- build-misc-37:
419+
context: dash-docker-hub
420+
- build-dashr:
421+
context: dash-docker-hub
391422
- test-37:
423+
context: dash-docker-hub
392424
requires:
393425
- build-core-37
394426
- build-misc-37
395427
- percy-finalize:
428+
context: dash-docker-hub
396429
requires:
397430
- build-dashr
398431
- test-37
399432
- artifacts:
433+
context: dash-docker-hub
400434
requires:
401435
- percy-finalize
402436
filters:
@@ -409,19 +443,27 @@ workflows:
409443

410444
python3.6:
411445
jobs:
412-
- lint-unit-36
413-
- build-core-36
414-
- build-misc-36
446+
- lint-unit-36:
447+
context: dash-docker-hub
448+
- build-core-36:
449+
context: dash-docker-hub
450+
- build-misc-36:
451+
context: dash-docker-hub
415452
- test-36:
453+
context: dash-docker-hub
416454
requires:
417455
- build-core-36
418456
- build-misc-36
419457
python2.7:
420458
jobs:
421-
- lint-unit-27
422-
- build-core-27
423-
- build-misc-27
459+
- lint-unit-27:
460+
context: dash-docker-hub
461+
- build-core-27:
462+
context: dash-docker-hub
463+
- build-misc-27:
464+
context: dash-docker-hub
424465
- test-27:
466+
context: dash-docker-hub
425467
requires:
426468
- build-core-27
427469
- build-misc-27

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ node_modules/
6464
.npm
6565
npm-debug*
6666

67-
dash_renderer/
6867
dash_generator_test_component_standard/
6968
dash_generator_test_component_nested/
7069
dash_test_components/

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
All notable changes to `dash` will be documented in this file.
33
This project adheres to [Semantic Versioning](https://semver.org/).
44

5+
## [1.17.0] - 2020-10-29
6+
### Changed
7+
- [#1442](https://github.com/plotly/dash/pull/1442) Update from React 16.13.0 to 16.14.0
8+
### Fixed
9+
- [#1434](https://github.com/plotly/dash/pull/1434) Fix [#1432](https://github.com/plotly/dash/issues/1432) for Julia to import non-core component packages without possible errors.
10+
11+
### Changed
12+
- [#1448](https://github.com/plotly/dash/pull/1448) Provide a hint in the callback error when the user forgot to make `app.callback(...)` a decorator.
13+
514
## [1.16.3] - 2020-10-07
615
### Fixed
716
- [#1426](https://github.com/plotly/dash/pull/1426) Fix a regression caused by `flask-compress==1.6.0` causing performance degradation on server requests

CONTRIBUTING.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ Glad that you decided to make your contribution in Dash, to set up your developm
99
$ git clone https://github.com/plotly/dash
1010
$ cd dash
1111
$ python3 -m venv .venv/dev
12-
# activate the virtualenv (on windows .venv\dev\scripts\activate)
13-
$ . .venv/dev/bin/activate
12+
# activate the virtualenv
13+
# on windows `.venv\dev\scripts\activate`
14+
# on some linux / mac environments, use `.` instead of `source`
15+
$ source .venv/dev/bin/activate
1416
# install dash and dependencies
1517
$ pip install -e .[testing,dev] # in some shells you need \ to escape []
1618
$ cd dash-renderer
@@ -23,7 +25,7 @@ $ pip install -e .
2325
# build and install components used in tests
2426
$ cd .. # should be back in dash/ root directory
2527
$ npm install
26-
$ npm run setup-tests
28+
$ npm run setup-tests.py # or npm run setup-tests.R
2729
# you should see both dash and dash-renderer are pointed to local source repos
2830
$ pip list | grep dash
2931
```

README.md

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![LGTM Alerts](https://img.shields.io/lgtm/alerts/g/plotly/dash.svg)](https://lgtm.com/projects/g/plotly/dash/alerts)
99
[![LGTM Grade](https://img.shields.io/lgtm/grade/python/g/plotly/dash.svg)](https://lgtm.com/projects/g/plotly/dash/context:python)
1010

11-
#### *Dash is a Python framework for building analytical web applications. No JavaScript required*.
11+
#### *Dash is the most downloaded, trusted Python framework for building ML & data science web apps*.
1212

1313
Built on top of Plotly.js, React and Flask, Dash ties modern UI elements like dropdowns, sliders, and graphs directly to your analytical Python code. Read our tutorial proudly crafted ❤️ by Dash itself.
1414

@@ -18,6 +18,8 @@ Built on top of Plotly.js, React and Flask, Dash ties modern UI elements like dr
1818

1919
- [Dash Docs on Heroku](https://dash-docs.herokuapp.com/) (for corporate network that cannot access plotly.com)
2020

21+
- [Open-Source App Gallery](https://dash-gallery.plotly.host/Portal/) With sample code and templates!
22+
2123
### App Samples
2224

2325
| App | Description |
@@ -29,14 +31,31 @@ Built on top of Plotly.js, React and Flask, Dash ties modern UI elements like dr
2931

3032
To learn more about Dash, read the [extensive announcement letter](https://medium.com/@plotlygraphs/introducing-dash-5ecf7191b503) or [jump in with the user guide](https://plotly.com/dash).
3133

32-
### Contact and Support
34+
### Dash OSS & Dash Enterprise
35+
36+
With Dash Open Source, Dash apps run on your local laptop or workstation, but cannot be easily accessed by others in your organization.
37+
38+
Scale up with Dash Enterprise when your Dash app is ready for department or company-wide consumption. Or, launch your initiative with Dash Enterprise from the start to unlock developer productivity gains and hands-on acceleration from Plotly's team.
39+
40+
ML Ops Features: A one-stop shop for ML Ops: Horizontally scalable hosting, deployment, and authentication for your Dash apps. No IT or DevOps required.
41+
- [**App manager**](https://plotly.com/dash/app-manager/) Deploy & manage Dash apps without needing IT or a DevOps team. App Manager gives you point & click control over all aspects of your Dash deployments.
42+
- [**Kubernetes scaling**](https://plotly.com/dash/kubernetes/) Ensure high availability of Dash apps and scale horizontally with Dash Enterprise’s Kubernetes architecture. No IT or Helm required.
43+
- [**No code auth**](https://plotly.com/dash/authentication/) Control Dash app access in a few clicks. Dash Enterprise supports LDAP, AD, PKI, Okta, SAML, OpenID Connect, OAuth, SSO, and simple email authentication.
44+
- [**Job Queue**](https://plotly.com/dash/job-queue/) The Job Queue is the key to building scalable Dash apps. Move heavy computation from synchronous Dash callbacks to the Job Queue for asynchronous background processing.
45+
46+
Low-Code Features: Low-code Dash app capabilities that supercharge developer productivity.
47+
- [**Design Kit**](https://plotly.com/dash/design-kit/) Design like a pro without writing a line of CSS. Easily arrange, style, brand, and customize your Dash apps.
48+
- [**Snapshot Engine**](https://plotly.com/dash/snapshot-engine/) Save & share Dash app views as links or PDFs. Or, run a Python job through Dash and have Snapshot Engine email a report when the job is done.
49+
- [**Dashboard Toolkit**](https://plotly.com/dash/toolkit/) Drag & drop layouts, chart editing, and crossfilter for your Dash apps.
50+
- [**Embedding**](https://plotly.com/dash/embedding/) Natively embed Dash apps in an existing web application or website without the use of IFrames.
3351

34-
For companies with software budgets, Plotly offers
52+
Enterprise AI Features: Everything that your data science team needs to rapidly deliver AI/ML research and business initiatives.
53+
- [**AI App Marketplace**](https://plotly.com/dash/ai-and-ml-templates/) Dash Enterprise ships with dozens of Dash app templates for business problems where AI/ML is having the greatest impact.
54+
- [**Big Data for Pything**](https://plotly.com/dash/big-data-for-python/) Connect to Python's most popular big data back ends: Dask, Databricks, NVIDIA RAPIDS, Snowflake, Postgres, Vaex, and more.
55+
- [**GPU & Dask Acceleration**](https://plotly.com/dash/gpu-dask-acceleration/) Dash Enterprise puts Python’s most popular HPC stack for GPU and parallel CPU computing in the hands of business users.
56+
- [**Data Science Workspaces**](https://plotly.com/dash/workspaces/) Be productive from Day 1. Write and execute Python, R, & Julia code from Dash Enterprise's onboard code editor.
3557

36-
- [**Dash Deployment Server**](https://plotly.com/products/dash/) speeds your time-to-delivery while providing the right resources, security, and scalability you need to deliver production-quality apps
37-
- [**Dash Design Kit**](https://plotly.com/products/dash/) makes your internal dashboard awesome without expertise in JavaScript & CSS.
38-
- [**Snapshot Engine**](https://plotly.com/products/dash/) seamlessly links your analytics and reporting workflows together, giving you a fast way to generate interactive reports of just the data you need
3958

40-
See [https://plotly.com/dash/support](https://plotly.com/dash/support) for ways to get in touch.
59+
See [https://plotly.com/contact-us/](https://plotly.com/contact-us/) to get in touch.
4160

42-
![image](https://user-images.githubusercontent.com/1280389/30084008-9fbc68fc-925e-11e7-891c-18a9b8f6ac6b.png)
61+
![image](https://images.prismic.io/plotly-marketing-website/493eec39-8467-4610-b9d0-d6ad3ea61423_Dash+Open+source%2BDash+enterprise2-01.jpg?auto=compress,format)

0 commit comments

Comments
 (0)