From fed3416b13fa0aecb80ca59a862130c494332e36 Mon Sep 17 00:00:00 2001 From: hugrbot Date: Mon, 16 Dec 2024 17:13:12 +0000 Subject: [PATCH] chore(py): release tket2-exts 0.3.0 (#725) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :robot: I have created a release *beep* *boop* --- ## [0.3.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.2.0...tket2-exts-v0.3.0) (2024-12-16) ### ⚠ BREAKING CHANGES * Updated `hugr` rust dependency to `0.14.0` Extension are now defined in `hugr 0.14` style. Replaced the `ROTATION_TYPE` with a method call, and dropped the per-extension registry definitions. ### Miscellaneous Chores * Update to next version of hugr ([#720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: Agustín Borgna <121866228+aborgna-q@users.noreply.github.com> Co-authored-by: Agustín Borgna --- .release-please-manifest.json | 2 +- tket2-exts/CHANGELOG.md | 11 +++++++++++ tket2-exts/pyproject.toml | 2 +- tket2-exts/src/tket2_exts/__init__.py | 5 +++++ tket2-py/pyproject.toml | 2 +- uv.lock | 2 +- 6 files changed, 20 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1aaaff6a..1da3e87c 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,5 +1,5 @@ { "tket2-py": "0.5.1", "tket2-eccs": "0.2.0", - "tket2-exts": "0.2.0" + "tket2-exts": "0.3.0" } \ No newline at end of file diff --git a/tket2-exts/CHANGELOG.md b/tket2-exts/CHANGELOG.md index c858d1ad..a062623c 100644 --- a/tket2-exts/CHANGELOG.md +++ b/tket2-exts/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [0.3.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.2.0...tket2-exts-v0.3.0) (2024-12-16) + + +### ⚠ BREAKING CHANGES + +* Updated `hugr` rust dependency to `0.14.0`. Extension are now defined in `hugr 0.14` style. + +### Miscellaneous Chores + +* Update to next version of hugr ([#720](https://github.com/CQCL/tket2/issues/720)) ([4a3a5a5](https://github.com/CQCL/tket2/commit/4a3a5a5e38252d4ee709e7e97bb5a1e90bd9fff4)) + ## [0.2.0](https://github.com/CQCL/tket2/compare/tket2-exts-v0.1.1...tket2-exts-v0.2.0) (2024-12-02) diff --git a/tket2-exts/pyproject.toml b/tket2-exts/pyproject.toml index aa0c5858..5b7f7c72 100644 --- a/tket2-exts/pyproject.toml +++ b/tket2-exts/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "tket2-exts" -version = "0.2.0" +version = "0.3.0" requires-python = ">=3.10" description = "HUGR extension definitions for the tket2 compiler." license = { file = "LICENCE" } diff --git a/tket2-exts/src/tket2_exts/__init__.py b/tket2-exts/src/tket2_exts/__init__.py index 54df9d83..448c6a3a 100644 --- a/tket2-exts/src/tket2_exts/__init__.py +++ b/tket2-exts/src/tket2_exts/__init__.py @@ -6,6 +6,11 @@ from hugr.ext import Extension +# This is updated by our release-please workflow, triggered by this +# annotation: x-release-please-version +__version__ = "0.3.0" + + @functools.cache def rotation() -> Extension: return load_extension("tket2.rotation") diff --git a/tket2-py/pyproject.toml b/tket2-py/pyproject.toml index 3ead52e0..49c4da4e 100644 --- a/tket2-py/pyproject.toml +++ b/tket2-py/pyproject.toml @@ -30,7 +30,7 @@ dependencies = [ 'pytket >= 1.34, < 2', 'hugr >= 0.10.0, < 0.11', 'tket2_eccs >= 0.2.0, < 0.3', - 'tket2_exts >= 0.1.0, < 0.2', + 'tket2_exts >= 0.3.0, < 0.4', ] [tool.uv.sources] diff --git a/uv.lock b/uv.lock index 465f0854..d66e86e3 100644 --- a/uv.lock +++ b/uv.lock @@ -847,7 +847,7 @@ source = { editable = "tket2-eccs" } [[package]] name = "tket2-exts" -version = "0.2.0" +version = "0.3.0" source = { editable = "tket2-exts" } dependencies = [ { name = "hugr" },