From 6293cec463870e5f3dc92e3d5d495f58e87be115 Mon Sep 17 00:00:00 2001 From: martinRenou Date: Tue, 22 Oct 2024 10:24:26 +0200 Subject: [PATCH] Release 7.8.5 dist/ipywidgets-7.8.5-py2.py3-none-any.whl md5: 9c90f9ff15bb02493960262d07961d1b sha1: ba0475bcf315bf7832da209a6117098fe46ef174 sha256: 8055fe314edd4c101a5f1ea230620ef5e315b0ca87f940264b4eac1faf9746ef dist/ipywidgets-7.8.5.tar.gz md5: 9724c129129d8711e6597f2071415bfc sha1: 8459d1d2b173aba345cab40f4f6a83153a40e666 sha256: 927439399d75f59f43864c13d7e73b05a4de522d3ea09d6048adc5c583b55c3b widgetsnbextension/dist/widgetsnbextension-3.6.10-py2.py3-none-any.whl md5: 2a8b35d7333d2a25979e12b01a485588 sha1: cf5ba5cc7f038c1bf327c7b23a48c6d70bdaaa25 sha256: 91a283c2bb50b43ae415dfe69fb026ece0c14e0102987fb53127c7a71e82417d widgetsnbextension/dist/widgetsnbextension-3.6.10.tar.gz md5: 2a0f928094178ab2269f9cecaa330139 sha1: 7ae2f17785a969cd979cbe77690a98f1a3cb904c sha256: cc370876baee1d23d4c506c798ab7d08c355133c9a5e81474159ff75877593df jupyterlab_widgets/dist/jupyterlab_widgets-1.1.11-py3-none-any.whl md5: c4ffaa3c19ad23c679a270d768265eae sha1: d7c04ad5b9688de80a30c77118c722510626c0a5 sha256: 840e538021d87e020a8e7b786597f088431f4ebd8308655555e126c3950a1b27 jupyterlab_widgets/dist/jupyterlab_widgets-1.1.11.tar.gz md5: 6ad0e155e0d953c11632e7e032a8cbb3 sha1: 3ab528246955e44bd33359ac1680f9fbb42ff6b3 sha256: 414cdbcd99db6e8f1174c7e4ed49c6ba368779f4659806fb1d824f3c377218e4 --- docs/source/dev_release.md | 24 +++++++++- ipywidgets/_version.py | 2 +- .../jupyterlab_widgets/_version.py | 2 +- scripts/hashes_fedora | 9 ++++ setup.py | 2 +- .../widgetsnbextension/_version.py | 2 +- yarn.lock | 48 +++++++++---------- 7 files changed, 60 insertions(+), 29 deletions(-) create mode 100755 scripts/hashes_fedora 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