Skip to content

Commit

Permalink
version changes for v5.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolaskruchten committed Jun 8, 2022
1 parent 368a372 commit 473e6e0
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 19 deletions.
8 changes: 5 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"`):

Expand Down Expand Up @@ -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
Expand All @@ -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 jupyterlab-plotly@5.8.0 @jupyter-widgets/jupyterlab-manager
jupyter labextension install jupyterlab-plotly@5.8.1 @jupyter-widgets/jupyterlab-manager
```

Please check out our [Troubleshooting guide](https://plotly.com/python/troubleshooting/) if you run into any problems with JupyterLab.
Expand Down
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",
Expand Down
2 changes: 1 addition & 1 deletion packages/python/plotly/plotly/_widget_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 473e6e0

Please sign in to comment.