From 7bcecc9d5e34dd1e357cbedf8f0efd30ac4b7e81 Mon Sep 17 00:00:00 2001 From: Rohit Sanjay Date: Fri, 16 Jun 2023 10:58:39 -0700 Subject: [PATCH] Fix AssertionError and prep 0.0.27 release (#181) --- .bumpversion.cfg | 2 +- .github/workflows/ci.yaml | 4 ++-- CHANGELOG.md | 4 ++++ papermill_origami/_version.py | 2 +- papermill_origami/manager.py | 2 +- pyproject.toml | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index d76483d..3ead436 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.0.26 +current_version = 0.0.27 parse = (?P\d+)\.(?P\d+)\.(?P\d+) serialize = {major}.{minor}.{patch} diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 864d4ee..d2b464b 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -20,7 +20,7 @@ jobs: - name: Setup nox uses: daisylb/setup-nox@v2.1.0 - name: Setup poetry - uses: Gr1N/setup-poetry@v7 + uses: Gr1N/setup-poetry@v8 with: poetry-version: 1.4.1 - name: Install dependencies @@ -41,7 +41,7 @@ jobs: - name: Setup nox uses: daisylb/setup-nox@v2.1.0 - name: Setup poetry - uses: Gr1N/setup-poetry@v7 + uses: Gr1N/setup-poetry@v8 with: poetry-version: 1.4.1 - name: Install dependencies diff --git a/CHANGELOG.md b/CHANGELOG.md index 67ef3ec..2d7b3cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +## [0.0.27] - 2023-06-16 +### Fixed +- Fix run_sync AssertionError by making async_interrupt_kernel actually async + ## [0.0.26] - 2023-04-17 ## Changed - Upgrade noteable-origami to 0.0.24 diff --git a/papermill_origami/_version.py b/papermill_origami/_version.py index b67a45d..998c172 100644 --- a/papermill_origami/_version.py +++ b/papermill_origami/_version.py @@ -1 +1 @@ -version = "0.0.26" +version = "0.0.27" diff --git a/papermill_origami/manager.py b/papermill_origami/manager.py index 233cf21..f8f818a 100644 --- a/papermill_origami/manager.py +++ b/papermill_origami/manager.py @@ -106,7 +106,7 @@ async def async_has_kernel(self): has_kernel = run_sync(async_restart_kernel) - def async_interrupt_kernel(self): + async def async_interrupt_kernel(self): """Interrupts active execution on a live kernel""" raise NotImplementedError("TODO") diff --git a/pyproject.toml b/pyproject.toml index 913ce5e..d62c9e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ [tool.poetry] name = "papermill-origami" -version = "0.0.26" +version = "0.0.27" description = "The noteable API interface" authors = ["Matt Seal "] maintainers = ["Matt Seal "]