From 272d3d9eda6f00e2fa6da711c8c4d454afe83354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andre=CC=81=20Rivet?= Date: Thu, 17 Dec 2020 16:37:03 -0500 Subject: [PATCH 1/5] trigger buil --- .circleci/config.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0cb15f1bc..24fb49215 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -12,7 +12,7 @@ jobs: lint-unit-37: &lint-unit working_directory: ~/project docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -50,7 +50,7 @@ jobs: lint-unit-36: <<: *lint-unit docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.76.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -60,7 +60,7 @@ jobs: lint-unit-27: <<: *lint-unit docker: - - image: circleci/python:2.7-stretch-node-browsers + - image: circleci/python:2.7.18-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -70,7 +70,7 @@ jobs: build-dash-37: &build-dash working_directory: ~/project docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -98,7 +98,7 @@ jobs: . venv/bin/activate && mkdir packages set -eo pipefail # build main dash - git clone --depth 1 https://github.com/plotly/dash.git dash-main + git clone -b browser-capabilities --depth 1 https://github.com/plotly/dash.git dash-main cd dash-main && pip install -e .[dev] --progress-bar off && python setup.py sdist && mv dist/* ../packages/ cd dash-renderer && npm ci && npm run build python setup.py sdist && mv dist/* ../../packages/ && cd ../.. @@ -116,7 +116,7 @@ jobs: build-dash-36: <<: *build-dash docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.76.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -126,7 +126,7 @@ jobs: build-dash-27: <<: *build-dash docker: - - image: circleci/python:2.7-stretch-node-browsers + - image: circleci/python:2.7.18-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -136,7 +136,7 @@ jobs: test-37: &test working_directory: ~/project docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -172,7 +172,7 @@ jobs: test-36: <<: *test docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.76.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -183,7 +183,7 @@ jobs: test-27: <<: *test docker: - - image: circleci/python:2.7-stretch-node-browsers + - image: circleci/python:2.7.18-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -194,7 +194,7 @@ jobs: test-legacy-37: &test-legacy working_directory: ~/project docker: - - image: circleci/python:3.7.6-stretch-node-browsers + - image: circleci/python:3.7.9-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -231,7 +231,7 @@ jobs: test-legacy-36: <<: *test-legacy docker: - - image: circleci/python:3.6.9-stretch-node-browsers + - image: circleci/python:3.76.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -241,7 +241,7 @@ jobs: test-legacy-27: <<: *test-legacy docker: - - image: circleci/python:2.7-stretch-node-browsers + - image: circleci/python:2.7.18-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB From adf18876e2eb34ef6f3a5463c06800f114da7cd1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andre=CC=81=20Rivet?= Date: Thu, 17 Dec 2020 17:00:45 -0500 Subject: [PATCH 2/5] 3.76 -> 3.6 --- .circleci/config.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 24fb49215..be3ce27af 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -50,7 +50,7 @@ jobs: lint-unit-36: <<: *lint-unit docker: - - image: circleci/python:3.76.12-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -116,7 +116,7 @@ jobs: build-dash-36: <<: *build-dash docker: - - image: circleci/python:3.76.12-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -172,7 +172,7 @@ jobs: test-36: <<: *test docker: - - image: circleci/python:3.76.12-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB @@ -231,7 +231,7 @@ jobs: test-legacy-36: <<: *test-legacy docker: - - image: circleci/python:3.76.12-stretch-node-browsers + - image: circleci/python:3.6.12-stretch-node-browsers auth: username: dashautomation password: $DASH_PAT_DOCKERHUB From 83e1aeebe6de1da271d94cac6b947d0e225aa26f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andre=CC=81=20Rivet?= Date: Thu, 17 Dec 2020 17:22:03 -0500 Subject: [PATCH 3/5] trigger build From 66aad75b3d59d7e3cf8f5eae9be93cc8e85d7a26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andre=CC=81=20Rivet?= Date: Thu, 17 Dec 2020 17:38:42 -0500 Subject: [PATCH 4/5] remove `inni001` numbers now being processed correctly by Chrome --- tests/integration/input/test_number_input.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/tests/integration/input/test_number_input.py b/tests/integration/input/test_number_input.py index c6711e8df..6c6d6df8d 100644 --- a/tests/integration/input/test_number_input.py +++ b/tests/integration/input/test_number_input.py @@ -5,16 +5,8 @@ def test_inni001_invalid_numbers(ninput_app, dash_dcc): dash_dcc.start_server(ninput_app) - for invalid_number in ( - "10e10000", - "e+++eeeeeE-", - "120.2.33", - "12-.3", - "-3.3.3", - "0..0", - ): + for invalid_number in ("10e10000", "e+++eeeeeE-", "12-.3"): for debounce in ("false", "true"): - elem = dash_dcc.find_element("#input_{}".format(debounce)) assert not elem.get_attribute("value"), "input should have no initial value" From bb055d613c08dc3627a918ca1a9aa870c977a020 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Rivet?= Date: Fri, 18 Dec 2020 09:59:51 -0500 Subject: [PATCH 5/5] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index be3ce27af..a68066305 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -98,7 +98,7 @@ jobs: . venv/bin/activate && mkdir packages set -eo pipefail # build main dash - git clone -b browser-capabilities --depth 1 https://github.com/plotly/dash.git dash-main + git clone --depth 1 https://github.com/plotly/dash.git dash-main cd dash-main && pip install -e .[dev] --progress-bar off && python setup.py sdist && mv dist/* ../packages/ cd dash-renderer && npm ci && npm run build python setup.py sdist && mv dist/* ../../packages/ && cd ../..