From 7bca2ab05dc27fbca17146711b4f820ff707b5e4 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 09:09:09 -0400 Subject: [PATCH 1/7] changelog --- CHANGELOG.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 189e8c6e5e2..6866288a560 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,14 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## UNRELEASED ### Fixed - - Improve support for type checking by bypassing lazy-loading when type checking. + + - Improve support for type checking and IDE auto-completion by bypassing lazy-loading when type checking. [#3425](https://github.com/plotly/plotly.py/pull/3425) with thanks to [@JP-Ellis](https://github.com/JP-Ellis) + - Resolved various deprecation warning messages and compatibility issues with upstream dependencies and Python 3.11, plus removed dependency on `six`, with thanks to [@maresb](https://github.com/maresb), [@hugovk](https://github.com/hugovk), [@tirkarthi](https://github.com/tirkarthi), [@martinRenou](https://github.com/martinRenou), and [@BjoernLudwigPTB](https://github.com/BjoernLudwigPTB) + - Better support for MathJax 3 [#3706](https://github.com/plotly/plotly.py/pull/3706) + +### Added + + - Type annotations for Plotly Express functions and chainable `go.Figure` methods, for better IDE auto-completion [#3708](https://github.com/plotly/plotly.py/pull/3708) ### Updated - Updated Plotly.js to from version 2.11.1 to version 2.12.1. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/v2.12.1/CHANGELOG.md#2121----2022-05-09) for more information. Notable changes include: From 330358f2d7d48352d81573c5037c57565f31905b Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 09:11:44 -0400 Subject: [PATCH 2/7] release 5.8.0 --- CHANGELOG.md | 2 +- README.md | 8 ++++---- packages/javascript/jupyterlab-plotly/package.json | 2 +- packages/python/plotly/plotly/_widget_version.py | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6866288a560..4987739037a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). -## UNRELEASED +## [5.8.0] - 2022-05-09 ### Fixed diff --git a/README.md b/README.md index 500b0ca2102..557967a8da6 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ ## Quickstart -`pip install plotly==5.7.0` +`pip install plotly==5.8.0` Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`): @@ -79,13 +79,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is plotly.py may be installed using pip... ``` -pip install plotly==5.7.0 +pip install plotly==5.8.0 ``` or conda. ``` -conda install -c plotly plotly=5.7.0 +conda install -c plotly plotly=5.8.0 ``` ### JupyterLab Support @@ -107,7 +107,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**, ``` # JupyterLab 2.x renderer support -jupyter labextension install jupyterlab-plotly@5.7.0 @jupyter-widgets/jupyterlab-manager +jupyter labextension install jupyterlab-plotly@5.8.0 @jupyter-widgets/jupyterlab-manager ``` Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab. diff --git a/packages/javascript/jupyterlab-plotly/package.json b/packages/javascript/jupyterlab-plotly/package.json index e8c92634f9e..69e3a3c01c6 100644 --- a/packages/javascript/jupyterlab-plotly/package.json +++ b/packages/javascript/jupyterlab-plotly/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "5.7.0", + "version": "5.8.0", "description": "The plotly Jupyter extension", "author": "The plotly.py team", "license": "MIT", diff --git a/packages/python/plotly/plotly/_widget_version.py b/packages/python/plotly/plotly/_widget_version.py index 1785fe54e37..1cee3831be8 100644 --- a/packages/python/plotly/plotly/_widget_version.py +++ b/packages/python/plotly/plotly/_widget_version.py @@ -2,4 +2,4 @@ # for automated dev builds # # It is edited by hand prior to official releases -__frontend_version__ = "^5.7.0" +__frontend_version__ = "^5.8.0" From 7b46285e90b169c0ccdbcd751b9668478ef5a7f3 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 09:32:54 -0400 Subject: [PATCH 3/7] some debug output --- .circleci/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 74b9df07d0e..996dbbe0f3b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -275,6 +275,7 @@ jobs: cd packages/javascript/jupyterlab-plotly npm install npm run build:prod + git status - run: name: PyPI Build From d63054bb0d2bdca6470c8037997a409d2bf3ec10 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 10:00:41 -0400 Subject: [PATCH 4/7] debugging auto-build --- .circleci/config.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 996dbbe0f3b..ee9557f5d98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -263,8 +263,7 @@ jobs: name: Create conda environment command: | conda create -n env --yes python=3.9 conda-build conda-verify - conda install -n env -c conda-forge jupyterlab - conda install -c conda-forge nodejs=12 + conda install -n env -c conda-forge jupyterlab nodejs=12 conda init bash - run: @@ -306,6 +305,8 @@ jobs: - run: name: NPM Pack command: | + eval "$(conda shell.bash hook)" + conda activate env cd packages/javascript/jupyterlab-plotly npm pack mkdir npm_dist From 02b4473df7e93107ed3d6a3e2e12780639b40037 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 10:43:11 -0400 Subject: [PATCH 5/7] lockfile --- packages/javascript/jupyterlab-plotly/package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/javascript/jupyterlab-plotly/package-lock.json b/packages/javascript/jupyterlab-plotly/package-lock.json index a8ca902ef12..74a93e86d42 100644 --- a/packages/javascript/jupyterlab-plotly/package-lock.json +++ b/packages/javascript/jupyterlab-plotly/package-lock.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-plotly", - "version": "5.7.0", + "version": "5.8.0", "lockfileVersion": 1, "requires": true, "dependencies": { From e076493e2166799b0b186fe9cec9bccbee86fd1a Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 20:36:51 -0400 Subject: [PATCH 6/7] new changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4987739037a..d3c2b5d5a87 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Improve support for type checking and IDE auto-completion by bypassing lazy-loading when type checking. [#3425](https://github.com/plotly/plotly.py/pull/3425) with thanks to [@JP-Ellis](https://github.com/JP-Ellis) + - line-dash-style validators are now correctly used everywhere so that values like `10px 2px` are accepted [#3722](https://github.com/plotly/plotly.py/pull/3722) - Resolved various deprecation warning messages and compatibility issues with upstream dependencies and Python 3.11, plus removed dependency on `six`, with thanks to [@maresb](https://github.com/maresb), [@hugovk](https://github.com/hugovk), [@tirkarthi](https://github.com/tirkarthi), [@martinRenou](https://github.com/martinRenou), and [@BjoernLudwigPTB](https://github.com/BjoernLudwigPTB) - Better support for MathJax 3 [#3706](https://github.com/plotly/plotly.py/pull/3706) From eca5fe62f9262478bacc5895db3a053116cac393 Mon Sep 17 00:00:00 2001 From: Nicolas Kruchten Date: Mon, 9 May 2022 20:40:15 -0400 Subject: [PATCH 7/7] new changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3c2b5d5a87..49170a32a0d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,7 +7,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ### Fixed - Improve support for type checking and IDE auto-completion by bypassing lazy-loading when type checking. [#3425](https://github.com/plotly/plotly.py/pull/3425) with thanks to [@JP-Ellis](https://github.com/JP-Ellis) - - line-dash-style validators are now correctly used everywhere so that values like `10px 2px` are accepted [#3722](https://github.com/plotly/plotly.py/pull/3722) + - line dash-style validators are now correctly used everywhere so that values like `10px 2px` are accepted [#3722](https://github.com/plotly/plotly.py/pull/3722) - Resolved various deprecation warning messages and compatibility issues with upstream dependencies and Python 3.11, plus removed dependency on `six`, with thanks to [@maresb](https://github.com/maresb), [@hugovk](https://github.com/hugovk), [@tirkarthi](https://github.com/tirkarthi), [@martinRenou](https://github.com/martinRenou), and [@BjoernLudwigPTB](https://github.com/BjoernLudwigPTB) - Better support for MathJax 3 [#3706](https://github.com/plotly/plotly.py/pull/3706)