Skip to content

v5.8.1 release #3764

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -272,7 +272,7 @@ jobs:
eval "$(conda shell.bash hook)"
conda activate env
cd packages/javascript/jupyterlab-plotly
npm install
npm ci
npm run build:prod
git status

@@ -283,10 +283,12 @@ jobs:
conda activate env
cd packages/python/plotly
python setup.py sdist bdist_wheel
mkdir pypi_dist
tar czf pypi_dist/all.tgz dist

- store_artifacts:
path: packages/python/plotly/dist
destination: dist
path: packages/python/plotly/pypi_dist
destination: pypi_dist

- run:
name: Conda Build
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [5.8.1] - 2022-06-08

### Fixed

- 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)


## [5.8.0] - 2022-05-09

### Fixed
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -33,7 +33,7 @@

## Quickstart

`pip install plotly==5.8.0`
`pip install plotly==5.8.1`

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

@@ -78,13 +78,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.8.0
pip install plotly==5.8.1
```

or conda.

```
conda install -c plotly plotly=5.8.0
conda install -c plotly plotly=5.8.1
```

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

```
# JupyterLab 2.x renderer support
jupyter labextension install [email protected].0 @jupyter-widgets/jupyterlab-manager
jupyter labextension install [email protected].1 @jupyter-widgets/jupyterlab-manager
```

Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.
2 changes: 1 addition & 1 deletion packages/javascript/jupyterlab-plotly/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/javascript/jupyterlab-plotly/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jupyterlab-plotly",
"version": "5.8.0",
"version": "5.8.1",
"description": "The plotly Jupyter extension",
"author": "The plotly.py team",
"license": "MIT",
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/_widget_version.py
Original file line number Diff line number Diff line change
@@ -2,4 +2,4 @@
# for automated dev builds
#
# It is edited by hand prior to official releases
__frontend_version__ = "^5.8.0"
__frontend_version__ = "^5.8.1"
20 changes: 11 additions & 9 deletions release.md
Original file line number Diff line number Diff line change
@@ -29,8 +29,9 @@ a link to the plotly.js CHANGELOG.

### Finalize versions

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

Manually update the versions to `X.Y.Z` in the files specified below.

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

### Download and check CI Artifacts

<WIP>

### Publishing to PyPI