From ef02aacc400b6dc0c0b7db5c32edbb6b64d08c98 Mon Sep 17 00:00:00 2001 From: Divyansh Choudhary Date: Thu, 4 Jan 2024 14:35:32 +0530 Subject: [PATCH 1/4] Fix pre run cell event with ipython 8.18.x --- jupyterlab_notify/magics.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab_notify/magics.py b/jupyterlab_notify/magics.py index f6c6291..d57957b 100644 --- a/jupyterlab_notify/magics.py +++ b/jupyterlab_notify/magics.py @@ -212,7 +212,7 @@ def notify_all(self, line): if self._post_run_cell not in ip.events.callbacks["post_run_cell"]: ip.events.register("post_run_cell", self._post_run_cell) - def _pre_run_cell(self): + def _pre_run_cell(self, info): self.run_start_time = time.time() def _post_run_cell(self, exec_result): From d0b15cb736128da9cc9acf423e681c93e606c05f Mon Sep 17 00:00:00 2001 From: Divyansh Choudhary Date: Thu, 4 Jan 2024 14:47:50 +0530 Subject: [PATCH 2/4] Bump to version 2.0.1 --- CHANGELOG.md | 13 +++++++++++++ package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d21521b..42c5543 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,16 @@ +## [2.0.1](https://github.com/deshaw/jupyterlab-notify/compare/v2.0.1...v2.0.0) (UNRELEASED) + +## Fixed + +- Fix the pre run cell hook to be compatible with ipython 8.18.x+ + + +## [2.0.0](https://github.com/deshaw/jupyterlab-notify/compare/v2.0.0...v1.0.0) (2023-05-17) + +## Changed + +- Upgrade to jupyterlab4 + ## [1.0.0](https://github.com/deshaw/jupyterlab-notify/compare/v1.0.0...v1.0.0) (2021-07-12) ### Added diff --git a/package.json b/package.json index 7e7168f..43b9672 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "jupyterlab-notify", - "version": "2.0.0", + "version": "2.0.1", "description": "JupyterLab extension to notify cell completion", "keywords": [ "jupyter", From 1a10a61fa493701a430e3451d9a3cf2ceb56e18f Mon Sep 17 00:00:00 2001 From: Divyansh Choudhary Date: Thu, 4 Jan 2024 15:09:23 +0530 Subject: [PATCH 3/4] Fix lint: --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42c5543..9e63937 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,6 @@ - Fix the pre run cell hook to be compatible with ipython 8.18.x+ - ## [2.0.0](https://github.com/deshaw/jupyterlab-notify/compare/v2.0.0...v1.0.0) (2023-05-17) ## Changed From cce40fdf4056b6977a3459a04e7af1666bb71e96 Mon Sep 17 00:00:00 2001 From: Divyansh Choudhary Date: Tue, 16 Jan 2024 13:50:11 +0530 Subject: [PATCH 4/4] Add release date --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e63937..a3614fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## [2.0.1](https://github.com/deshaw/jupyterlab-notify/compare/v2.0.1...v2.0.0) (UNRELEASED) +## [2.0.1](https://github.com/deshaw/jupyterlab-notify/compare/v2.0.1...v2.0.0) (2024-01-16) ## Fixed