You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://github.com/jonmmease/plotly_ipywidget_notebooks using the classic
320
+
notebook and JupyterLab. Make sure `FigureWidget` objects are displayed as
321
+
plotly figures, and make sure the in-place updates and callbacks work.
322
+
323
+
If appropriate, ask users who have submitted bug reports or feature
324
+
requests that are resolved in this version to try out the release candidate.
325
+
326
+
If problems are found in the release candidate, fix them on the release
327
+
branch and then publish another release candidate with the candidate number
328
+
incremented.
329
+
330
+
#### Finalize versions
331
+
When no problems are identified in the release candidate, remove the
332
+
release candidate suffix from the following version strings:
333
+
334
+
-`plotly/version.py`:
335
+
+ Update `__version__` to `X.Y.Z`
336
+
+ Update `__frontend_version__` to `^A.B.C` (Note the `^` prefix)
337
+
-`js/package.json`
338
+
+ Update `"version"` to `A.B.C`
339
+
340
+
#### Merge release into master
341
+
Make sure the integration tests are passing on the release branch, then merge
342
+
it into master on GitHub.
343
+
344
+
Update your local master, tag this merge commit as `vX.Y.Z`
345
+
(e.g. `v3.1.1`), and push the tag.
221
346
222
347
```bash
223
348
(plotly.py) $ git checkout master
224
349
(plotly.py) $ git stash
225
350
(plotly.py) $ git pull origin master
226
-
(plotly.py) $ python setup.py sdist upload # upload to pip
351
+
(plotly.py) $ git tag vX.Y.Z
352
+
(plotly.py) $ git push origin vX.Y.Z
227
353
```
228
354
229
-
After it has uploaded, move to another directly and double+triple check that you are able to upgrade ok:
355
+
#### Publishing to Pip
356
+
357
+
Publish the final version to PyPI
358
+
359
+
```bash
360
+
(plotly.py) $ python setup.py sdist bdist_wheel
361
+
(plotly.py) $ twine upload dist/plotly-X.Y.Z*
362
+
```
363
+
364
+
After it has uploaded, move to another environment and double+triple check that you are able to upgrade ok:
230
365
```bash
231
366
$ pip install plotly --upgrade
232
367
```
@@ -236,11 +371,16 @@ And ask one of your friends to do it too. Our tests should catch any issues, but
236
371
<3 Team Plotly
237
372
238
373
#### Publish widget library to npm
374
+
Finally, publish the final version of the widget library to npm with:
239
375
240
376
```bash
241
377
cd ./js
242
378
npm publish --access public
243
379
```
244
380
381
+
#### Post announcement
382
+
Post a simple announcement to the Plotly Python forum, with links to the
383
+
README installation instructions and to the CHANGELOG.
384
+
245
385
# Contributing to the Figure Factories
246
386
If you are interested in contributing to the ever-growing Plotly figure factory library in Python, check out the [documentation](https://github.com/plotly/plotly.py/blob/master/plotly/figure_factory/README.md) to learn how.
0 commit comments