diff --git a/docs/source/dev_release.md b/docs/source/dev_release.md index 9c872c318e..e98fdcdf6e 100644 --- a/docs/source/dev_release.md +++ b/docs/source/dev_release.md @@ -48,11 +48,25 @@ git pull origin 7.x git reset --hard origin/7.x git clean -fdx jlpm install -npm publish +yarn publish ``` Lerna will prompt you for version numbers for each of the changed npm packages. Lerna will then change the versions appropriately (including the interdependency versions), commit, tag, and publish the new packages to npm. +### Fix NPM tags!!! + +NPM is stupid, it can't see you just published versions that are prior to the latest (You are on the 7.x branch, so not publishing the latest of ipywidgets packages). It will mark your packages as "latest", this will have the impact of breaking users flow because e.g. they will now pull an outdated html-manager in nbconvert. + +You need to fix the tags for all the packages you just publish with e.g. (PLEASE VERIFY VERSION NUMBERS, CHECKING THE ACTUAL LATEST): + +``` +npm dist-tag add @jupyter-widgets/jupyterlab-manager@5.0.13 latest +npm dist-tag add @jupyter-widgets/base@6.0.10 latest +npm dist-tag add @jupyter-widgets/controls@5.0.11 latest +npm dist-tag add @jupyter-widgets/html-manager@1.0.13 latest +npm dist-tag add @jupyter-widgets/output@6.0.10 latest +``` + ### jupyterlab_widgets Go into the `jupyterlab_widgets` directory. Change `jupyterlab_widgets/_version.py` to reflect the new version number. @@ -112,6 +126,14 @@ Using the above script, you can do: ./scripts/hashes jupyterlab_widgets/dist/* ``` +Or when using Fedora: + +``` +./scripts/hashes_fedora dist/* +./scripts/hashes_fedora widgetsnbextension/dist/* +./scripts/hashes_fedora jupyterlab_widgets/dist/* +``` + Commit the changes you've made above, and include the uploaded files hashes in the commit message. Tag the release if ipywidgets was released. Push to origin 7.x (and include the tag in the push). ``` diff --git a/ipywidgets/_version.py b/ipywidgets/_version.py index fadbe01149..d88b4a1bb0 100644 --- a/ipywidgets/_version.py +++ b/ipywidgets/_version.py @@ -1,7 +1,7 @@ # Copyright (c) Jupyter Development Team. # Distributed under the terms of the Modified BSD License. -version_info = (7, 8, 4, 'final', 0) +version_info = (7, 8, 5, 'final', 0) _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} diff --git a/jupyterlab_widgets/jupyterlab_widgets/_version.py b/jupyterlab_widgets/jupyterlab_widgets/_version.py index c73608189e..696508b154 100644 --- a/jupyterlab_widgets/jupyterlab_widgets/_version.py +++ b/jupyterlab_widgets/jupyterlab_widgets/_version.py @@ -1,4 +1,4 @@ -version_info = (1, 1, 10, 'final', 0) +version_info = (1, 1, 11, 'final', 0) _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} diff --git a/scripts/hashes_fedora b/scripts/hashes_fedora new file mode 100755 index 0000000000..431d8d6c8d --- /dev/null +++ b/scripts/hashes_fedora @@ -0,0 +1,9 @@ +#!/bin/sh +for f in $@ +do + echo "$f" + echo md5: `md5sum "$f" | awk '{print $1}'` + echo sha1: `sha1sum "$f" | awk '{print $1}'` + echo sha256: `sha256sum "$f" | awk '{print $1}'` + echo +done diff --git a/setup.py b/setup.py index 6d3857aa9e..32734f1d14 100644 --- a/setup.py +++ b/setup.py @@ -116,7 +116,7 @@ # only if notebook 4.x is installed in this # interpreter, to allow ipywidgets to be # installed on bare kernels. - 'widgetsnbextension~=3.6.9' + 'widgetsnbextension~=3.6.10' ] extras_require = setuptools_args['extras_require'] = { diff --git a/widgetsnbextension/widgetsnbextension/_version.py b/widgetsnbextension/widgetsnbextension/_version.py index 32de5d9e03..26b57243fa 100644 --- a/widgetsnbextension/widgetsnbextension/_version.py +++ b/widgetsnbextension/widgetsnbextension/_version.py @@ -1,4 +1,4 @@ -version_info = (3, 6, 9, 'final', 0) +version_info = (3, 6, 10, 'final', 0) _specifier_ = {'alpha': 'a', 'beta': 'b', 'candidate': 'rc', 'final': ''} diff --git a/yarn.lock b/yarn.lock index 7411eb8baf..04f453281d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -540,7 +540,7 @@ __metadata: languageName: node linkType: hard -"@jupyter-widgets/base@^4.1.6, @jupyter-widgets/base@workspace:packages/base": +"@jupyter-widgets/base@^4.1.7, @jupyter-widgets/base@workspace:packages/base": version: 0.0.0-use.local resolution: "@jupyter-widgets/base@workspace:packages/base" dependencies: @@ -584,11 +584,11 @@ __metadata: languageName: unknown linkType: soft -"@jupyter-widgets/controls@^3.1.7, @jupyter-widgets/controls@workspace:packages/controls": +"@jupyter-widgets/controls@^3.1.8, @jupyter-widgets/controls@workspace:packages/controls": version: 0.0.0-use.local resolution: "@jupyter-widgets/controls@workspace:packages/controls" dependencies: - "@jupyter-widgets/base": ^4.1.6 + "@jupyter-widgets/base": ^4.1.7 "@jupyterlab/services": ^7 "@lumino/algorithm": ^1 || ^2 "@lumino/domutils": ^1 || ^2 @@ -638,8 +638,8 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/example-web1@workspace:examples/web1" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 chai: ^4.0.0 css-loader: ^3.4.0 file-loader: ^5.0.2 @@ -659,8 +659,8 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/example-web2@workspace:examples/web2" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 codemirror: ^5.48.0 css-loader: ^3.4.0 file-loader: ^5.0.2 @@ -676,9 +676,9 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/example-web3@workspace:examples/web3" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 - "@jupyter-widgets/html-manager": ^0.20.8 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 + "@jupyter-widgets/html-manager": ^0.20.9 "@jupyterlab/services": ^6 || ^7 "@lumino/widgets": ^1 || ^2 "@types/codemirror": ^0.0.74 @@ -706,7 +706,7 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/example-web4@workspace:examples/web4" dependencies: - "@jupyter-widgets/html-manager": ^0.20.8 + "@jupyter-widgets/html-manager": ^0.20.9 css-loader: ^3.4.0 file-loader: ^5.0.2 font-awesome: ^4.7.0 @@ -716,13 +716,13 @@ __metadata: languageName: unknown linkType: soft -"@jupyter-widgets/html-manager@^0.20.8, @jupyter-widgets/html-manager@workspace:packages/html-manager": +"@jupyter-widgets/html-manager@^0.20.9, @jupyter-widgets/html-manager@workspace:packages/html-manager": version: 0.0.0-use.local resolution: "@jupyter-widgets/html-manager@workspace:packages/html-manager" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 - "@jupyter-widgets/output": ^4.1.6 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 + "@jupyter-widgets/output": ^4.1.7 "@jupyter-widgets/schema": ^0.4.1 "@jupyterlab/outputarea": ^3 || ^4 "@jupyterlab/rendermime": ^3 || ^4 @@ -757,9 +757,9 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/jupyterlab-manager@workspace:jupyterlab_widgets" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 - "@jupyter-widgets/output": ^4.1.6 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 + "@jupyter-widgets/output": ^4.1.7 "@jupyterlab/application": ^3 || ^4 "@jupyterlab/builder": ^4 "@jupyterlab/cells": ^3 || ^4 @@ -800,10 +800,10 @@ __metadata: version: 0.0.0-use.local resolution: "@jupyter-widgets/notebook-manager@workspace:widgetsnbextension" dependencies: - "@jupyter-widgets/base": ^4.1.6 - "@jupyter-widgets/controls": ^3.1.7 - "@jupyter-widgets/html-manager": ^0.20.8 - "@jupyter-widgets/output": ^4.1.6 + "@jupyter-widgets/base": ^4.1.7 + "@jupyter-widgets/controls": ^3.1.8 + "@jupyter-widgets/html-manager": ^0.20.9 + "@jupyter-widgets/output": ^4.1.7 "@jupyterlab/services": ^6 || ^7 "@lumino/messaging": ^1 || ^2 "@lumino/widgets": ^1 || ^2 @@ -818,11 +818,11 @@ __metadata: languageName: unknown linkType: soft -"@jupyter-widgets/output@^4.1.6, @jupyter-widgets/output@workspace:packages/output": +"@jupyter-widgets/output@^4.1.7, @jupyter-widgets/output@workspace:packages/output": version: 0.0.0-use.local resolution: "@jupyter-widgets/output@workspace:packages/output" dependencies: - "@jupyter-widgets/base": ^4.1.6 + "@jupyter-widgets/base": ^4.1.7 rimraf: ^2.6.1 tslint: ^5.20.1 typescript: ~5