Skip to content

Commit 473e6e0

Browse files
version changes for v5.8.1
1 parent 368a372 commit 473e6e0

File tree

7 files changed

+30
-19
lines changed

7 files changed

+30
-19
lines changed

.circleci/config.yml

+5-3
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ jobs:
272272
eval "$(conda shell.bash hook)"
273273
conda activate env
274274
cd packages/javascript/jupyterlab-plotly
275-
npm install
275+
npm ci
276276
npm run build:prod
277277
git status
278278
@@ -283,10 +283,12 @@ jobs:
283283
conda activate env
284284
cd packages/python/plotly
285285
python setup.py sdist bdist_wheel
286+
mkdir pypi_dist
287+
tar czf pypi_dist/all.tgz dist
286288
287289
- store_artifacts:
288-
path: packages/python/plotly/dist
289-
destination: dist
290+
path: packages/python/plotly/pypi_dist
291+
destination: pypi_dist
290292

291293
- run:
292294
name: Conda Build

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## [5.8.1] - 2022-06-08
6+
7+
### Fixed
8+
9+
- Fixed a syntax error that caused rendering issues in Databricks notebooks and likely elsewhere. [#3763](https://github.com/plotly/plotly.py/pull/3763) with thanks to [@fwetdb](https://github.com/fwetdb)
10+
11+
512
## [5.8.0] - 2022-05-09
613

714
### Fixed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
## Quickstart
3535

36-
`pip install plotly==5.8.0`
36+
`pip install plotly==5.8.1`
3737

3838
Inside [Jupyter](https://jupyter.org/install) (installable with `pip install "jupyterlab>=3" "ipywidgets>=7.6"`):
3939

@@ -78,13 +78,13 @@ Built on top of [plotly.js](https://github.com/plotly/plotly.js), `plotly.py` is
7878
plotly.py may be installed using pip...
7979

8080
```
81-
pip install plotly==5.8.0
81+
pip install plotly==5.8.1
8282
```
8383

8484
or conda.
8585

8686
```
87-
conda install -c plotly plotly=5.8.0
87+
conda install -c plotly plotly=5.8.1
8888
```
8989

9090
### JupyterLab Support
@@ -106,7 +106,7 @@ The instructions above apply to JupyterLab 3.x. **For JupyterLab 2 or earlier**,
106106

107107
```
108108
# JupyterLab 2.x renderer support
109-
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
109+
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
110110
```
111111

112112
Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.

packages/javascript/jupyterlab-plotly/package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/javascript/jupyterlab-plotly/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jupyterlab-plotly",
3-
"version": "5.8.0",
3+
"version": "5.8.1",
44
"description": "The plotly Jupyter extension",
55
"author": "The plotly.py team",
66
"license": "MIT",

packages/python/plotly/plotly/_widget_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# for automated dev builds
33
#
44
# It is edited by hand prior to official releases
5-
__frontend_version__ = "^5.8.0"
5+
__frontend_version__ = "^5.8.1"

release.md

+11-9
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ a link to the plotly.js CHANGELOG.
2929

3030
### Finalize versions
3131

32-
Manually update the versions to `X.Y.Z` in the files
33-
specified below.
32+
**Create a branch `git checkout -b release-X.Y.Z`.**
33+
34+
Manually update the versions to `X.Y.Z` in the files specified below.
3435

3536
- `CHANGELOG.md`
3637
+ update the release date
@@ -40,15 +41,16 @@ specified below.
4041
+ Update `__frontend_version__` to `^X.Y.Z` (Note the `^` prefix)
4142
- `packages/javascript/jupyterlab-plotly/package.json`
4243
+ Update `"version"` to `X.Y.Z`
43-
+ Ensure you're using `node` version 12 and `npm` version 6 to minimize diffs to `package-lock.json`
44-
+ Ensure you're in a Python virtual environment with JupyterLab 3 installed
45-
+ Run `rm -rf node_modules && npm install && npm run clean && npm run build:prod`
46-
- Run `git diff` and ensure that only the files you modified and the build artifacts have changed
47-
- Ensure that the diff in `package-lock.json` seems sane
48-
- Commit and tag but *don't push* until after everything is available on NPM/PyPI/Conda (see below):
49-
+ `git commit -a -m "release vX.Y.Z"`
44+
- `packages/javascript/jupyterlab-plotly/package-lock.json`
45+
+ Update `"version"` to `X.Y.Z`
46+
- Commit and add this specific tag which `versioneer` will pick up, and push to Github so that CI will build the release artifacts:
47+
+ `git commit -a -m "version changes for vX.Y.Z"`
5048
+ `git tag vX.Y.Z`
49+
+ `git push --atomic origin release-X.Y.Z vX.Y.Z`
50+
51+
### Download and check CI Artifacts
5152

53+
<WIP>
5254

5355
### Publishing to PyPI
5456

0 commit comments

Comments
 (0)